Installation path of the binary is now dependant of FAKEROOT

This commit is contained in:
Shadowigor 2016-08-28 18:04:36 +02:00
parent dba871e9bf
commit 58eb1d85c9
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ SCRIPT_BUILD=2016052601
#TODO: silent mode and no stats mode #TODO: silent mode and no stats mode
CONF_DIR=$FAKEROOT/etc/$PROGRAM CONF_DIR=$FAKEROOT/etc/$PROGRAM
BIN_DIR=${BIN_DIR:-/usr/local/bin} BIN_DIR="$FAKEROOT${BIN_DIR:-/usr/local/bin}"
SERVICE_DIR_INIT=$FAKEROOT/etc/init.d SERVICE_DIR_INIT=$FAKEROOT/etc/init.d
# Should be /usr/lib/systemd/system, but /lib/systemd/system exists on debian & rhel / fedora # Should be /usr/lib/systemd/system, but /lib/systemd/system exists on debian & rhel / fedora
SERVICE_DIR_SYSTEMD_SYSTEM=$FAKEROOT/lib/systemd/system SERVICE_DIR_SYSTEMD_SYSTEM=$FAKEROOT/lib/systemd/system