Add conf file, gitignore and move exlist to conf file
This commit is contained in:
parent
3a0122d162
commit
d6faa58b62
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
variables.conf
|
@ -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
5
variables.conf.template
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Copy this file as variables.conf, with the correct values
|
||||||
|
|
||||||
|
exlist=""
|
Loading…
Reference in New Issue
Block a user