diff --git a/clear-repo.sh b/clear-repo.sh index 09f202a..50ad647 100755 --- a/clear-repo.sh +++ b/clear-repo.sh @@ -12,11 +12,11 @@ init() { echo "You cannot run this script as root!" exit 1 fi + source variables.conf if [ ! -e $repo_directory/$repo_db_file ] ; then echo "Could not find db file. Exiting..." exit 1 fi - source variables.conf echo "ArchRepo clearing script" }