diff --git a/fresh.sh b/fresh.sh index 37e46ca..3720e93 100755 --- a/fresh.sh +++ b/fresh.sh @@ -13,12 +13,12 @@ do case $opt in esac done +scriptdir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) device=${device:="480"} repo=${repo:="https://toerd@bitbucket.org/toerd/dotfiles"} -prog=${prog:="$HOME/install/pack.list"} +prog=${prog:="$scriptdir/pack.list"} aurhelper=${aurhelper:="yay"} -logfile=${logfile:="$HOME/install/install.log"} -scriptdir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) +logfile=${logfile:="$scriptdir/install.log"} if [ -z ${v+x} ]; then logfile="/dev/null"