2 Commits

Author SHA1 Message Date
d6faa58b62 Add conf file, gitignore and move exlist to conf file 2022-02-14 22:30:25 +01:00
3a0122d162 Correct typo in README 2022-02-14 18:47:16 +01:00
4 changed files with 9 additions and 2 deletions

1
.gitignore vendored Normal file
View File

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

View File

@ -4,7 +4,7 @@
### Introduction ### Introduction
In a nutshell: In a nutshell:
* this script is run punctually, on a dedicated Arch VM; * this script is run punctually, on a dedicated Arch VM;
* Proces: * Process:
* it takes all packages in the repository; * it takes all packages in the repository;
* checks online if a new version is available * checks online if a new version is available
* if so build it and then add it to the repository * if so build it and then add it to the repository

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=""