From 5103e3b6b04cfaaccd82997c447d15a341df9517 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Mon, 18 Apr 2022 12:02:06 +0200 Subject: [PATCH] Fix issue in init --- clear-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }