From 58eb1d85c93b948231ec1c4b01f45c4dfb9b3147 Mon Sep 17 00:00:00 2001 From: Shadowigor Date: Sun, 28 Aug 2016 18:04:36 +0200 Subject: [PATCH] Installation path of the binary is now dependant of FAKEROOT --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 075477d..dda5750 100755 --- a/install.sh +++ b/install.sh @@ -13,7 +13,7 @@ SCRIPT_BUILD=2016052601 #TODO: silent mode and no stats mode 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 # Should be /usr/lib/systemd/system, but /lib/systemd/system exists on debian & rhel / fedora SERVICE_DIR_SYSTEMD_SYSTEM=$FAKEROOT/lib/systemd/system