1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00
openmptcprouter-vps/debian/postinst
Ycarus (Yannick Chabanois) 95453a8013 Fix sed in debian package
2021-03-10 09:51:50 +00:00

17 lines
No EOL
345 B
Bash

#!/bin/sh -e
test $DEBIAN_SCRIPT_DEBUG && set -v -x
# use debconf
. /usr/share/debconf/confmodule
sed -i -e "s/^LOCALFILES=.*$/LOCALFILES=no/" -e "s/^SOURCES=.*$/SOURCES=no/" /usr/share/omr-server/debian9-x86_64.sh
echo 'To finish installation reboot'
systemctl enable omr-update
db_stop
#DEBHELPER#
exit 0
# vim:set ai et sts=2 sw=2 tw=0: