Skip to content
Snippets Groups Projects
Commit e55fb45c authored by Valentin Bruch's avatar Valentin Bruch
Browse files

post-oem-lip: put linuxparty.sh in Downloads and launcher in Desktop

parent b6eb2fb1
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
m |singular|singular: Tool für die Vorlesung Computeralgebra
m |gap|gap: Groups, Algorithms, Programming - ein System für diskrete Mathematik (595MB)
M |codeblocks|codeblocks: IDE für das C++-Praktikum
P |python-numpy python3-numpy|numpy: Numerik Bibiliothek für Python
P |python-numpy python3-numpy|numpy: Numerik Bibliothek für Python
P |python-scipy python3-scipy|scipy: Python-Bibliothek für scientific computing
P |python-matplotlib python3-matplotlib|matplotlib: Schnittstelle zum Plotten mit Python
P |python-seaborn python3-seaborn|Seaborn: Schönes Plotten statistischer Daten mit Python
......@@ -63,7 +63,7 @@
#System stuff, e.g. gcc and efibootmgr
|automake|
|cmake|
C |build-essential|build-essential: C und C++ Comiler, make
C |build-essential|build-essential: C und C++ Compiler, make
|lvm2|
c |screen|screen: terminal multiplexer
c |tmux|tmux: terminal multiplexer
......@@ -91,7 +91,7 @@ LD |gparted|
# LaTeX documentation: not useful in a VM
|texlive-fonts-extra-doc texlive-metapost-doc texlive-science-doc texlive-latex-recommended-doc texlive-humanities-doc texlive-latex-base-doc texlive-publishers-doc texlive-latex-extra-doc texlive-fonts-recommended-doc texlive-pictures-doc texlive-pstricks-doc info|Dokumentation für LaTeX
#german language support
#German language support
D |hunspell-de-de|
LD |language-pack-de|
D |wngerman|
......
......@@ -15,9 +15,20 @@ BASEDIR='/opt/lip'
DELETE=
for user in $(ls /home); do
mkdir -p "/home/$user/Desktop"
cp "$BASEDIR/linuxparty.sh" "$BASEDIR/packages" "/home/$user/Desktop/" || continue
mkdir -p "/home/$user/Desktop" "/home/$user/Downloads"
cp "$BASEDIR/linuxparty.sh" "$BASEDIR/packages" "/home/$user/Downloads/" || continue
cat > "/home/$user/Desktop/LinuxParty.desktop" <<EOF
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Terminal=true
Icon=/usr/share/icons/Humanity/apps/128/system-installer.svg
Name=LinuxParty
Exec=bash /home/$user/Downloads/linuxparty.sh
EOF
chown -R "$user:$user" "/home/$user/Desktop"
chown -R "$user:$user" "/home/$user/Downloads"
chmod 775 "/home/$user/Desktop/LinuxParty.desktop"
DELETE=1
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment