--- /dev/null
+#!/bin/sh
+
+# I sincerely apologise for the following ugly kludge that
+# backs up all previous settings.
+
+if [ -f "/home/user/.chroot" ] ; then
+ cp /home/user/.chroot /home/user/.chroot.orig
+fi
+
+if [ -f "/home/user/.Xmodmap-keymap" ] ; then
+ cp /home/user/.Xmodmap-keymap /home/user/.Xmodmap-keymap.orig
+fi
+
+if [ -f "/home/user/.xbindkeysrc.scm" ] ; then
+ cp /home/user/.xbindkeysrc.scm /home/user/.xbindkeysrc.scm.orig
+fi
+
+if [ -f "/home/user/.gimp-2.4/gimprc" ] ; then
+ cp /home/user/.gimp-2.4/gimprc /home/user/.gimp-2.4/gimprc.orig
+fi
+
+if [ -f "/home/user/.gimp-2.4/sessionrc" ] ; then
+ cp /home/user/.gimp-2.4/sessionrc /home/user/.gimp-2.4/sessionrc.orig
+fi
+
+if [ -f "/home/user/.config/lxde/config" ] ; then
+ cp /home/user/.config/lxde/config /home/user/.config/lxde/config.orig
+fi
+
+if [ -f "/home/user/.config/lxpanel/LXDE/config" ] ; then
+ cp /home/user/.config/lxpanel/LXDE/config /home/user/.config/lxpanel/LXDE/config.orig
+fi
+
+if [ -f "/home/user/.config/lxpanel/LXDE/panels/panel" ] ; then
+ cp /home/user/.config/lxpanel/LXDE/panels/panel /home/user/.config/lxpanel/LXDE/panels/panel.orig
+fi
+
+if [ -f "/home/user/.config/gtk-2.0/gtkfilechooser.ini" ] ; then
+ cp /home/user/.config/gtk-2.0/gtkfilechooser.ini /home/user/.config/gtk-2.0/gtkfilechooser.ini.orig
+fi
+
+exit 0