Commit 164462c9 authored by John Ferlito's avatar John Ferlito
Browse files

Fix syslog errors during install

parent 751f520b
nfsen (1.3.6p1-2ubuntu1) lucid; urgency=low
* Log to conole during install so build isn't dependant on syslog
-- John Francesco Ferlito <> Wed, 27 Feb 2013 12:16:51 +1100
nfsen (1.3.6p1-2) lucid; urgency=low
* Add all the depends to build depends too
......@@ -15,6 +15,8 @@
# Make sur we log to console during install as there is no syslog daemon ib pbuilder
sed -i "s:# \$$LogSocket = 'unix';:\$$LogSocket = 'console';:" etc/nfsen-dist.conf
# Use the broken installer
./ etc/nfsen-dist.conf
# Remove the dist etc file
......@@ -22,6 +24,7 @@ override_dh_auto_install:
# Cleanup the installed paths
for i in `rgrep -l debian/nfsen debian/nfsen`; do sed -i 's:debian/nfsen::' $$i; done
sed -i 's:$$BASEDIR = "";:$$BASEDIR = "/usr";:' debian/nfsen/etc/nfsen/nfsen.conf
sed -i "s:\$$LogSocket = 'console';:# \$$LogSocket = 'unix';:" debian/nfsen/etc/nfsen/nfsen.conf
# Move files around
mv debian/nfsen/usr/bin/ debian/nfsen/usr/bin/RebuildHierarchy
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment