Fix installation issue on arch-linux
This commit is contained in:
2
install
2
install
@@ -82,8 +82,10 @@ install_files()
|
|||||||
|
|
||||||
install -v -m 0755 -t $SMARTDNS_INIT_DIR etc/init.d/smartdns
|
install -v -m 0755 -t $SMARTDNS_INIT_DIR etc/init.d/smartdns
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
if [ $ISSYSTEMD -ne 0 ]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $ISSYSTEMD -eq 0 ]; then
|
if [ $ISSYSTEMD -eq 0 ]; then
|
||||||
SYSTEM_UNIT_PATH="`get_systemd_path`"
|
SYSTEM_UNIT_PATH="`get_systemd_path`"
|
||||||
|
|||||||
Reference in New Issue
Block a user