installer erweitert
This commit is contained in:
parent
531e5346e9
commit
e97e8599b9
@ -14,7 +14,10 @@
|
|||||||
############################################################################################################
|
############################################################################################################
|
||||||
|
|
||||||
# abfrage ob benötigte pakete installiert sind, wenn nicht dann installiere automatisch die benötigten Pakete.
|
# abfrage ob benötigte pakete installiert sind, wenn nicht dann installiere automatisch die benötigten Pakete.
|
||||||
|
if [ -d /home/"$USER"/.local/bin ]
|
||||||
|
then
|
||||||
|
mkdir -p /home/"$USER"/.local/bin
|
||||||
|
fi
|
||||||
if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1
|
if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
echo Wire-G wird installiert...
|
echo Wire-G wird installiert...
|
||||||
@ -64,6 +67,20 @@ else
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d /home/$USER/.config/autostart ] # for GNOME, XFCE, KDE, Budgie
|
||||||
|
then
|
||||||
|
cp wg_on_start.desktop /home/$USER/.config/autostart/
|
||||||
|
chmod +x /home/$USER/.config/autostart/wg_on_start.desktop
|
||||||
|
|
||||||
|
elif [ -d /home/$USER/.config/lxsession/Lubuntu/autostart ] # for LXDE
|
||||||
|
then
|
||||||
|
cp wg_on_start.desktop /home/$USER/.config/lxsession/Lubuntu/autostart/
|
||||||
|
chmod +x /home/$USER/.config/lxsession/Lubuntu/autostart/wg_on_start.desktop
|
||||||
|
|
||||||
|
else
|
||||||
|
echo Autostartdir not found!
|
||||||
|
fi
|
||||||
|
|
||||||
wait;
|
wait;
|
||||||
sudo mkdir -p /usr/share/icons/Arch-Symbole ; sudo cp icons/wg-vpn.png /usr/share/icons/Arch-Symbole/
|
sudo mkdir -p /usr/share/icons/Arch-Symbole ; sudo cp icons/wg-vpn.png /usr/share/icons/Arch-Symbole/
|
||||||
wait;
|
wait;
|
||||||
|
0
wg_on_start
Executable file → Normal file
0
wg_on_start
Executable file → Normal file
4
wg_on_start.desktop
Normal file → Executable file
4
wg_on_start.desktop
Normal file → Executable file
@ -1,4 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=wg_on_start
|
Name=wg_on_start
|
||||||
Exec=/home/"$USER"/.config/bin/wg_on_start
|
Exec=/home/"$USER"/.local/bin/wg_on_start
|
||||||
|
|
||||||
|
Name[de_DE]=wg_on_start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user