Skip to content

Commit

Permalink
installing 3rd party software (#477)
Browse files Browse the repository at this point in the history
* installing 3rd party software

* changing else if to if

* removal of desktop files
  • Loading branch information
rpotter12 authored and tabesin committed Jun 7, 2019
1 parent e382236 commit 0022dca
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 38 deletions.
14 changes: 0 additions & 14 deletions scripts/chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,24 +143,10 @@ fi
#Overwrite for decreasing the uid
sed -i '/UID_MIN/ c\UID_MIN 998' /etc/login.defs
# Install graphic
apt-get -qq -y --purge install gimp inkscape
#apt-get -qq -y --purge remove imagemagick
# Install Libreoffice
apt-get -qq -y --purge install --no-install-recommends libreoffice-gtk libreoffice-gtk libreoffice-writer libreoffice-calc libreoffice-impress
#screen-dimming turns off always
#echo -ne "\033[9;0]" >> /etc/issue
#setterm -blank 0 >> /etc/issue
#Install vlc
apt-get -qq -y install vlc
#Install dropbox
apt-get -qq -y install nautilus-dropbox
nautilus --quit
# Oxygen to be used as a fallback icon theme
apt-get -qq -y install oxygen-icon-theme
Expand Down
77 changes: 53 additions & 24 deletions scripts/chroot_reconst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,37 +58,66 @@ rm /usr/share/xsessions/plasma.desktop
# ugliest hack ever
cp /usr/share/xsessions/lxqt.desktop /usr/share/xsessions/plasma.desktop
# Installing
apt-get -qq -y install git
# 3rd party software installation
if ["chromium" in "$INSTALL"]
then
apt-get install -y chromium-browser
fi
if ["firefox" in "$INSTALL"]
then
apt-get -qq -y install firefox
fi
if ["chrome" in "$INSTALL"]
then
if [[ $(arch) = "amd64" ]]
then
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
dpkg -i google-chrome-stable_current_amd64.deb &&
rm -f google-chrome-stable_current_amd64.deb
else
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
dpkg -i google-chrome-stable_current_i386.deb &&
rm -f google-chrome-stable_current_i386.deb
fi
fi
if ["vlc" in "$INSTALL"]
then
apt-get -qq -y install vlc
fi
if ["git" in "$INSTALL"]
then
apt-get -qq -y install git
fi
if ["gimp" in "$INSTALL"]
then
apt-get -qq -y --purge install gimp
fi
if ["inkscape" in "$INSTALL"]
then
apt-get -qq -y --purge install inkscape
fi
if ["office" in "$INSTALL"]
then
apt-get -qq -y --purge install --no-install-recommends libreoffice-gtk libreoffice-gtk libreoffice-writer libreoffice-calc libreoffice-impress
fi
if ["dropbox" in "$INSTALL"]
then
apt-get -qq -y install nautilus-dropbox
nautilus --quit
fi
# removal of desktop files
rm /usr/share/applications/mpv.desktop
rm /usr/share/applications/smplayer.desktop
rm /usr/share/applications/smtube.desktop
rm /usr/share/applications/audacious.desktop
# Installing sublime text editor
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
apt-get -qq update
apt-get -qq -y install sublime-text
# Installing Firefox
apt-get -qq -y install firefox
# Installing Chrome
if [[ $(arch) = "amd64" ]]
then
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
dpkg -i google-chrome-stable_current_amd64.deb &&
rm -f google-chrome-stable_current_amd64.deb
else
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
dpkg -i google-chrome-stable_current_i386.deb &&
rm -f google-chrome-stable_current_i386.deb
fi
# Installing VLC media player
apt-get -qq -y install vlc
rm /usr/share/applications/mpv.desktop
rm /usr/share/applications/smplayer.desktop
rm /usr/share/applications/smtube.desktop
rm /usr/share/applications/audacious.desktop
# after Xenial one could also use apt install ./package
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
dpkg -i plymouth-theme-meilix-logo_1.0-2_all.deb
Expand Down

0 comments on commit 0022dca

Please sign in to comment.