Commit c8b11bf3 authored by Julien Muchembled's avatar Julien Muchembled

debian: do not stop re6stnet until after the package upgrade has been completed

parent 41218752
...@@ -26,6 +26,7 @@ override_dh_installinit: ...@@ -26,6 +26,7 @@ override_dh_installinit:
<debian/init.d >$(INIT)/re6st-registry <debian/init.d >$(INIT)/re6st-registry
sed 's/#NAME#/re6stnet/; s,#DAEMON_DIR#,/usr/sbin,' \ sed 's/#NAME#/re6stnet/; s,#DAEMON_DIR#,/usr/sbin,' \
<debian/init.d >$(INIT)/re6stnet <debian/init.d >$(INIT)/re6stnet
# -R is the default with debian/compat 10
for x in $(INIT)/*; \ for x in $(INIT)/*; \
do chmod +x $$x && dh_installinit --onlyscripts --name=$${x##*/}; \ do chmod +x $$x && dh_installinit -R --onlyscripts --name=$${x##*/}; \
done done
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