mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
only run server-release script on my system
This commit is contained in:
parent
8b2b700fd5
commit
f478cffc2c
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@ if ! [[ ${UID} -eq 0 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [[ ! "$(cat /etc/hostname)" == "T-POWA-LX" ]]; then
|
||||
echo "This script should only be run on tpowa's build server. Aborting..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# use pacman.conf with disabled [testing] repository
|
||||
cp "${PACMAN_CONF}" "${PACMAN_CONF}".old
|
||||
cp "${PACMAN_CONF}".archboot "${PACMAN_CONF}"
|
||||
|
|
Loading…
Reference in a new issue