@@ -58,37 +58,66 @@ rm /usr/share/xsessions/plasma.desktop
58
58
# ugliest hack ever
59
59
cp /usr/share/xsessions/lxqt.desktop /usr/share/xsessions/plasma.desktop
60
60
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
63
114
64
115
# Installing sublime text editor
65
116
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add -
66
117
echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
67
118
apt-get -qq update
68
119
apt-get -qq -y install sublime-text
69
120
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
-
92
121
# after Xenial one could also use apt install ./package
93
122
dpkg -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
94
123
dpkg -i plymouth-theme-meilix-logo_1.0-2_all.deb
0 commit comments