diff -u bld-0.3.4.1/debian/changelog bld-0.3.4.1/debian/changelog --- bld-0.3.4.1/debian/changelog +++ bld-0.3.4.1/debian/changelog @@ -1,3 +1,11 @@ +bld (0.3.4.1-3ubuntu1) lucid; urgency=low + + * debian/bld.postinst: drop creation and ownership changes of /var/run/bld, + this is now handled by init script + * debian/bld.init: add ownership change of /var/run/bld + + -- SevenMachines Tue, 17 Nov 2009 11:03:20 +0000 + bld (0.3.4.1-3) unstable; urgency=low * Changed priority back to optional, and changed the priority to extra diff -u bld-0.3.4.1/debian/bld.init bld-0.3.4.1/debian/bld.init --- bld-0.3.4.1/debian/bld.init +++ bld-0.3.4.1/debian/bld.init @@ -26,6 +26,7 @@ start) echo -n "Starting $DESC: " mkdir -p /var/run/bld + chown $USER:$USER /var/run/bld start-stop-daemon --start --quiet --pidfile /var/run/bld/$NAME.pid \ --exec $DAEMON --chuid $USER -- $DAEMON_OPTS echo "$NAME." diff -u bld-0.3.4.1/debian/bld.postinst bld-0.3.4.1/debian/bld.postinst --- bld-0.3.4.1/debian/bld.postinst +++ bld-0.3.4.1/debian/bld.postinst @@ -15,8 +15,2 @@ -if ! [ -x /usr/sbin/dpkg-statoverride ] || \ - ! dpkg-statoverride --list /var/run/$user >/dev/null -then - chown -R $user:$user /var/run/$user -fi - #DEBHELPER#