Commit 38a3ccfd authored by Mattia Rizzolo's avatar Mattia Rizzolo

add nautilus-dropbox, vlc, calibre, gdebi, gparted, playonlinux, steam,...

add nautilus-dropbox, vlc, calibre, gdebi, gparted, playonlinux, steam, clementine packages to the list. Add an option (-i) to install.sh to run update/upgrade besides other stuff
parent daba750f
...@@ -21,10 +21,18 @@ repos=(google-talkplugin.list) ...@@ -21,10 +21,18 @@ repos=(google-talkplugin.list)
reposdeb=() reposdeb=()
packages=(geany packages=(geany
google-talkplugin google-talkplugin
nautils-dropbox
filezilla filezilla
samba samba
gimp gimp
inkscape inkscape
clementine
vlc
calibre
gdebi
gparted
playonlinux
steam
cheese cheese
chromium-browser chromium-browser
xchat xchat
...@@ -132,16 +140,22 @@ install () { ...@@ -132,16 +140,22 @@ install () {
sudo apt-get install -y ${package} sudo apt-get install -y ${package}
} }
while getopts ":a" opt; do while getopts ":ai" opt; do
case $opt in case $opt in
a) a)
#ADDREPO=1 #ADDREPO=1
echo "The add-repo function is broken. Going on..." echo "The add-repo function is broken. Going on..."
;; ;;
i)
echo "Running first-installation stuff..."
sudo apt-get update
sudo apt-get dist-upgrade -y
;;
*) *)
echo "Unrecognised option: -$OPTARG." echo "Unrecognised option: -$OPTARG."
echo "Valid options are:" echo "Valid options are:"
echo " -a Add repositories" echo " -a Add repositories"
echo " -i First-installation useful stuff (apt-get update/upgrade)"
exit 1 exit 1
;; ;;
esac esac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment