~spacexplorer/+junk/myub

« back to all changes in this revision

Viewing changes to bin/06_deskStuff

  • Committer: Kim Allamandola
  • Date: 2012-08-19 16:20:46 UTC
  • Revision ID: spacexplorer@gmail.com-20120819162046-h1aiypbmeq9p82fh
Some holiday fixes:
 * a quick cleanup
 * some extra addition
   - Bind9+gogoc as DNS local cache server dual stack (ipv4 and ipv6)
   - sflphone after a while is now back in the official repos
   - PySolFC a nice card games collection, far better then Aisleriot

This will probably be one of the last update of this branch of MyUb;
for Ubuntu 13.04 I'll rewrite it from scratch in a more comfortable
form :-)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/bin/env zsh
2
2
# a big brunch of desktop-centric apps
3
3
 
4
 
# myUb log helper, can be removed for standalone use
5
 
if [[ $1 =~ "myUb\.[0-9]+\.log" ]]; then 
6
 
    logFile=$1
7
 
    function print() { echo "    $1" >>| /dev/stdout >>| $logFile }
8
 
fi
 
4
# misc utils/logs for myUb
 
5
. ../dist/script/myubLib
9
6
 
10
7
# Oneiric curious bug
11
8
# dpkg --clear-avail
21
18
                   non-free-codecs normalize-audio pdfchain pdfshuffler \
22
19
                   telepathy-sofiasip wxmaxima xchm vlc dconf-tools     \
23
20
                   gkrellm chromium-browser chromium-browser-l10n       \
24
 
                   chromium-codecs-ffmpeg-extra &&\
 
21
                   chromium-codecs-ffmpeg-extra sflphone-gnome &&\
25
22
                   print "$0 install done, exit $?" || \
26
23
                   (print "$0 install FAIL, exit $?"; exit 1)
27
24
 
28
25
# extra app I do not use now
29
26
# echo "acroread acroread/default-viewer boolean false" | debconf-set-selections
30
 
# apt-get install -y acroread acroread-fonts homebank hamster-applet
 
27
# apt-get install -y acroread acroread-fonts
 
28
# apt-get install -y skrooge hamster-applet
31
29
 
32
 
# just to save disk root space...
33
 
apt-get -y autoclean 0
34
 
sleep 1 ; sync ; sleep 1
35
 
rm -f /var/cache/apt/archives/*.deb && print "all .deb removed!" || \
36
 
                                       print ".deb remove FAILED"
37
 
sync
 
30
# just to save disk root space, function provided by myubLib
 
31
debClean