From 5bfcfcb4a67aea1284275f9840b61dd57d4e542d Mon Sep 17 00:00:00 2001 From: Syahrial Agni Prasetya Date: Mon, 17 May 2021 14:01:32 +0700 Subject: [PATCH] Fix missing etc dir --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 737c0e8..0b4240b 100755 --- a/install.sh +++ b/install.sh @@ -4,6 +4,7 @@ ETC_DIR="${ETC_DIR:-/etc}" PREFIX="${PREFIX:-/usr/local}" mkdir -p $PREFIX/share/archbox/bin +mkdir -p $ETC_DIR install -v -D -m 755 ./src/archbox.bash $PREFIX/bin/archbox install -v -D -m 755 ./src/archbox-desktop.bash $PREFIX/bin/archbox-desktop [[ ! -e /etc/archbox.conf || ! -z $FORCE_INSTALL_CONFIG ]] && ./genconfig.sh > $ETC_DIR/archbox.conf