Skip to content

Commit

Permalink
use novadir var
Browse files Browse the repository at this point in the history
  • Loading branch information
neroist committed Mar 13, 2024
1 parent 2d39cf7 commit 4992c47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

# vars
novaver="1.7.0"
novadir="/opt/nova"
novadir="/usr/local/nova"
input=""

read -p "What directory should Nova install to? (defaults to $novadir) " input
Expand All @@ -25,7 +25,7 @@ mkdir -p $novadir
wget -q -O "$novadir/nova" "https://github.com/neroist/nova/releases/download/$novaver/nova"

# make symlink to nova in secure path
ln -s /usr/local/nova/nova /usr/local/bin/nova
ln -s "$novadir/nova" /usr/local/bin/nova

# create files needed by nova and apply permissions
touch "$novadir/.KEY"
Expand Down

0 comments on commit 4992c47

Please sign in to comment.