As successfully uploaded to Extras-devel from my N900
[easy-deb-chroot] / fremantle / easy-chroot / .py2deb_build_folder / easy-chroot / debian / postinst
diff --git a/fremantle/easy-chroot/.py2deb_build_folder/easy-chroot/debian/postinst b/fremantle/easy-chroot/.py2deb_build_folder/easy-chroot/debian/postinst
new file mode 100644 (file)
index 0000000..ed8534e
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if  [ ! -e "/sbin/ezchroot" ] ; then 
+   ln -s /sbin/qchroot /sbin/ezchroot
+fi
+
+# yet another kludge; detect an upgrade (forced OFF)
+UPGRD='no'
+
+# this takes a while; that's why it's at the end...
+update-sudoers
+
+exit 0