Add conf file, gitignore and move exlist to conf file

This commit is contained in:
Alexandre CATTEAU 2022-02-14 22:30:25 +01:00
parent 3a0122d162
commit d6faa58b62
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
variables.conf

View File

@ -81,6 +81,8 @@ init() {
exit 1 exit 1
fi fi
source ../variables.conf
# TODO Check if required packages are installed # TODO Check if required packages are installed
echo "ArchRepo update script" echo "ArchRepo update script"
@ -117,7 +119,6 @@ checkUpdates() {
continue 1 continue 1
fi fi
exlist=""
if echo $exlist | grep -w $name > /dev/null; then if echo $exlist | grep -w $name > /dev/null; then
echo -e "\nSkipping $name ($version, temporary exception)." echo -e "\nSkipping $name ($version, temporary exception)."
continue 1 continue 1

5
variables.conf.template Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
# Copy this file as variables.conf, with the correct values
exlist=""