install fix for set dir right

This commit is contained in:
Désiré Werner Menrath 2024-09-17 20:59:18 +02:00
parent 80c29c4f11
commit 448d09ca4a
2 changed files with 13 additions and 7 deletions

View File

@ -4,7 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="940e1630-c825-4d4c-be80-bc11f543c122" name="Changes" comment="in delete replace open with Path&#10;install fixes">
<list default="true" id="940e1630-c825-4d4c-be80-bc11f543c122" name="Changes" comment="new format little fixes icons sort add policy add .desktop File install Part 2">
<change afterPath="$PROJECT_DIR$/Wire-Py.desktop" afterDir="false" />
<change afterPath="$PROJECT_DIR$/install" afterDir="false" />
<change afterPath="$PROJECT_DIR$/org.wirepy.policy" afterDir="false" />
@ -447,7 +447,15 @@
<option name="project" value="LOCAL" />
<updated>1726359012150</updated>
</task>
<option name="localTasksCounter" value="32" />
<task id="LOCAL-00032" summary="new format little fixes icons sort add policy add .desktop File install Part 2">
<option name="closed" value="true" />
<created>1726599446537</created>
<option name="number" value="00032" />
<option name="presentableId" value="LOCAL-00032" />
<option name="project" value="LOCAL" />
<updated>1726599446538</updated>
</task>
<option name="localTasksCounter" value="33" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -485,7 +493,6 @@
</component>
<component name="VcsManagerConfiguration">
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
<MESSAGE value="add class ListTunnels and class ImportTunnel, and add class ExportTunnels (ExportTunnels no finish)" />
<MESSAGE value="add Label Interface and Peer to new FrameWidget one and two. when import Tunnel then add to list works and remove of list when Tunnel delete.(with Label active on and off) &#10;add to class and methods open a avtive Tunnel when Wire-Py open, when import and start a Tunnel" />
<MESSAGE value="add file dict_to_address for &#10;address a active Tunnel. Label green pack in Class.&#10;add Class to convert fileoutput as String to Dictionary" />
<MESSAGE value="add Class StartStopBTN to wg_func.py" />
@ -510,6 +517,7 @@
<MESSAGE value="little fixes a labels when stop and start, installer first functions works" />
<MESSAGE value="little fixes, add msg_window() &#10;function for Messagebox to show a tk.Toplevel()&#10;replace var = open() with: &#10;with open() as var:&#10;and remove by classes (tk.tk) and super()" />
<MESSAGE value="in delete replace open with Path&#10;install fixes" />
<option name="LAST_COMMIT_MESSAGE" value="in delete replace open with Path&#10;install fixes" />
<MESSAGE value="new format little fixes icons sort add policy add .desktop File install Part 2" />
<option name="LAST_COMMIT_MESSAGE" value="new format little fixes icons sort add policy add .desktop File install Part 2" />
</component>
</project>

View File

@ -1,5 +1,5 @@
#!/bin/bash
USER_FOR_GROUP=$USER
which sudo >/dev/null
if [ $? -ne 0 ]
then
@ -13,7 +13,6 @@ if [ $? -ne 0 ]
fi
cp org.wirepy.policy /usr/share/polkit-1/actions/ && \
cp Wire-Py.desktop /usr/share/applications/ && \
chown -R root:root /usr/bin/wire-py && \
cp wg_start.services /lib/systemd/system/ && \
systemctl enable wg_start.service
@ -27,7 +26,6 @@ else
fi
sudo cp org.wirepy.policy /usr/share/polkit-1/actions/ && \
sudo cp Wire-Py.desktop /usr/share/applications/ && \
sudo chown -R root:root /usr/bin/ && \
sudo cp wg_start.service /lib/systemd/system/ && \
sudo systemctl enable wg_start.service