@@ -58,37 +58,66 @@ rm /usr/share/xsessions/plasma.desktop
5858# ugliest hack ever
5959cp /usr/share/xsessions/lxqt.desktop /usr/share/xsessions/plasma.desktop
6060
61- # Installing
62- apt-get -qq -y install git
61+ # 3rd party software installation
62+ if ["chromium" in "$INSTALL "]
63+ then
64+ apt-get install -y chromium-browser
65+ fi
66+ if ["firefox" in "$INSTALL "]
67+ then
68+ apt-get -qq -y install firefox
69+ fi
70+ if ["chrome" in "$INSTALL "]
71+ then
72+ if [[ $( arch) = "amd64" ]]
73+ then
74+ wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
75+ dpkg -i google-chrome-stable_current_amd64.deb &&
76+ rm -f google-chrome-stable_current_amd64.deb
77+ else
78+ wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
79+ dpkg -i google-chrome-stable_current_i386.deb &&
80+ rm -f google-chrome-stable_current_i386.deb
81+ fi
82+ fi
83+ if ["vlc" in "$INSTALL "]
84+ then
85+ apt-get -qq -y install vlc
86+ fi
87+ if ["git" in "$INSTALL "]
88+ then
89+ apt-get -qq -y install git
90+ fi
91+ if ["gimp" in "$INSTALL "]
92+ then
93+ apt-get -qq -y --purge install gimp
94+ fi
95+ if ["inkscape" in "$INSTALL "]
96+ then
97+ apt-get -qq -y --purge install inkscape
98+ fi
99+ if ["office" in "$INSTALL "]
100+ then
101+ apt-get -qq -y --purge install --no-install-recommends libreoffice-gtk libreoffice-gtk libreoffice-writer libreoffice-calc libreoffice-impress
102+ fi
103+ if ["dropbox" in "$INSTALL "]
104+ then
105+ apt-get -qq -y install nautilus-dropbox
106+ nautilus --quit
107+ fi
108+
109+ # removal of desktop files
110+ rm /usr/share/applications/mpv.desktop
111+ rm /usr/share/applications/smplayer.desktop
112+ rm /usr/share/applications/smtube.desktop
113+ rm /usr/share/applications/audacious.desktop
63114
64115# Installing sublime text editor
65116wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add -
66117echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
67118apt-get -qq update
68119apt-get -qq -y install sublime-text
69120
70- # Installing Firefox
71- apt-get -qq -y install firefox
72-
73- # Installing Chrome
74- if [[ $( arch) = "amd64" ]]
75- then
76- wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
77- dpkg -i google-chrome-stable_current_amd64.deb &&
78- rm -f google-chrome-stable_current_amd64.deb
79- else
80- wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
81- dpkg -i google-chrome-stable_current_i386.deb &&
82- rm -f google-chrome-stable_current_i386.deb
83- fi
84-
85- # Installing VLC media player
86- apt-get -qq -y install vlc
87- rm /usr/share/applications/mpv.desktop
88- rm /usr/share/applications/smplayer.desktop
89- rm /usr/share/applications/smtube.desktop
90- rm /usr/share/applications/audacious.desktop
91-
92121# after Xenial one could also use apt install ./package
93122dpkg -i plymouth-theme-meilix-text_1.0-2_all.deb; apt-get -qq -y -f install; dpkg -i plymouth-theme-meilix-text_1.0-2_all.deb
94123dpkg -i plymouth-theme-meilix-logo_1.0-2_all.deb
0 commit comments