]> the.earth.li Git - onak.git/blobdiff - debian/postinst
Fix use of absolute path in Debian postinst script
[onak.git] / debian / postinst
index da6c3eb29a1e4809d008ddcde9bcc4722de7a0a8..22d44dd80ac2a1aed4f7318c4970df97a8c97f25 100644 (file)
@@ -11,7 +11,7 @@ if [ "$1" = "configure" ]; then
                 # file. onak will use the file extension to determine it's
                 # an old style config, so we need the symlink.
                 ln -s /etc/onak.conf.dpkg-backup /etc/onak.conf
-                /usr/bin/onak -c /etc/onak.conf dumpconfig /etc/onak.ini
+                onak -c /etc/onak.conf dumpconfig /etc/onak.ini
                 rm /etc/onak.conf
         fi
     fi