Commit 478224bf authored by Mattia Rizzolo's avatar Mattia Rizzolo

add skype, pass, pastebinit, virtualbox, linux-headers-generic, terminator,...

add skype, pass, pastebinit, virtualbox, linux-headers-generic, terminator, unity-tweak-tool, vim, flashplugin-installer, prelink, preload, git to the packages to be installed. Add function to install sublime (from supply deb package) and setup prelink. Supply sublime debian package
parent a6cf8bca
......@@ -21,8 +21,9 @@ repos=(google-talkplugin.list)
reposdeb=()
packages=(geany
google-talkplugin
nautils-dropbox
nautilus-dropbox
filezilla
skype
samba
gimp
inkscape
......@@ -32,6 +33,14 @@ packages=(geany
gdebi
gparted
playonlinux
pass
pastebinit
virtualbox linux-headers-generic
terminator
unity-tweak-tool
vim
flashplugin-installer
prelink preload
steam
cheese
chromium-browser
......@@ -39,6 +48,7 @@ packages=(geany
eatmydata #to use pbuilder quickly
build-essential
debhelper
git
ubuntu-dev-tools
pbuilder
lintian
......@@ -46,7 +56,39 @@ packages=(geany
)
personal () {
echo ""
sublime () {
if ( ! dpkg -l sublime-text &> /dev/null ); then
echo "Installing sublime-text..."
sudo dpkg -i sublime-text*_`dpkg --print-architecture`.deb
sudo apt-get -f install
fi
}
prelink () {
if ( dpkg -l prelink &> /dev/null );then
NEW=false
if [ -f /etc/default/prelink ] ; then
if ( ! grep "PRELINKING=yes" /etc/default/prelink &> /dev/null ); then
TEMPFILE=`mktemp`
sed s/PRELINKING=unknown/PRELINKING=yes/g /etc/default/prelink > $TEMPFILE
sudo cp $TEMPFILE /etc/default/prelink
rm $TEMPFILE
NEW=true
fi
fi
if [ -f /etc/prelink.conf ] ; then
if ( ! grep "/usr/bin/skype" /etc/prelink.conf &> /dev/null ); then
sudo sh -c 'echo "-b /usr/bin/skype" >> /etc/prelink.conf'
NEW=true
fi
fi
if $NEW ; then
sudo prelink -a &
fi
fi
}
sublime
prelink
}
# This function create files, directories and symlinks, as needed
......
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