install fix for set dir right
This commit is contained in:
4
install
4
install
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user