Fix issue in init
This commit is contained in:
parent
e6680cec18
commit
5103e3b6b0
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user