Skip to content

Commit

Permalink
Test für bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
jjk4 authored Apr 20, 2021
1 parent 0430720 commit 90b55c1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lgos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Bitte führe das SKript als root aus"
exit
fi
rm -r /root/linuxguidesos/
apt install sudo xfce4 git vim curl snapd flatpak -y
mkdir /root/linuxguidesos/
git clone https://github.com/LinuxGuides-OS/LinuxGuidesOS.git /root/linuxguidesos

#OS-Release einrichten
cp /root/linuxguidesos/DesignTests/DesignTest-1/os-release /etc/os-release
cp /root/linuxguidesos/DesignTests/DesignTest-1/os-release /usr/lib/os-release

#neofetch einstellen
cp /root/linuxguidesos/neofetch /usr/bin
chmod +x /usr/bin/neofetch

#Hintergrund einstellen
mkdir /usr/share/backgrounds/linuxguides
cp /root/linuxguides/Wallpaper/* /usr/share/backgrounds/linuxguides

0 comments on commit 90b55c1

Please sign in to comment.