Compare commits
2 Commits
version1.1
...
version1
Author | SHA1 | Date | |
---|---|---|---|
d6faa58b62 | |||
3a0122d162 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
variables.conf
|
@ -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
|
||||||
|
@ -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=""
|
Reference in New Issue
Block a user