bwm-ng
chromium
duplicity
- fail2ban
fdupes
filelight
gdb
####### misc packages ###########
-
case $distro in
# tk for gitk
arch) pi git tk ;;
# others unknown
esac
+case $distro in
+ arch) pi apg ;;
+ # already in debian jessie
+esac
+
######### end misc packages #########
############# end unfinished
+########### misc stuff
+
+if [[ `debian-archive` == stable ]]; then
+ s dd of=/etc/apt/preferences.d/unison-gtk <<'EOF'
+Explanation: Allow unison-gtk to be upgraded
+Package: unison-gtk
+Pin: release a=unstable
+Pin-Priority: 500
+EOF
+fi
+
case $distro in
arch)
# default is alsa, doesn\'t work with with pianobar
# others unknown
esac
-if [[ $HOSTNAME == treetowl ]]; then
+if [[ $HOSTNAME == treetowl ]] && [[ `debian-archive` != testing ]]; then
+ # fail2 ban is broken, with a workaround, per
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770171
+ # ill wait a while to see if it gets fixed
pi fail2ban
sgo fail2ban
fi
EOF
if isdebian-testing; then
cat <<'EOF'
-# for stable, only do security updates.
+# for testing, only do security updates.
"origin=Debian,codename=${distro_codename},label=Debian-Security";
EOF
+ else
cat <<'EOF'
# These are stable packages only getting bugfixes anyways.
"origin=*";
# but postfix didn't like that
if [[ ! -L /var/spool/postfix ]]; then
ser stop postfix
- if [[ -e /q/postfix ]]; then
+ n=/q/postfix-`distro-name``debian-archive`
+ if [[ -e $n ]]; then
echo "$0: error: /q/postfix exists but not the link to it"
+ exit 1
fi
- s mv /var/spool/postfix /q
- s lnf /q/postfix /var/spool
+ s mv /var/spool/postfix $n
+ s lnf -T $n /var/spool/postfix
ser start postfix
- journalctl -n 20
+ journalctl -n 20 | cat
fi