Trying to upload all related projects
[easy-deb-chroot] / fremantle / easy-chroot / control / postinst
diff --git a/fremantle/easy-chroot/control/postinst b/fremantle/easy-chroot/control/postinst
new file mode 100755 (executable)
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