Reported-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
# FIXME: remove after beta is over and add hunk to actively remove the repo
BETA_SOURCES="/etc/apt/sources.list.d/pvetest-for-beta.list"
- if ! test -f "$BETA_SOURCES" dpkg --compare-versions "$2" 'lt' '8.0.1' && dpkg --compare-versions "$2" 'gt' '8.0~'; then
+ if ! test -f "$BETA_SOURCES" && dpkg --compare-versions "$2" 'lt' '8.0.1' && dpkg --compare-versions "$2" 'gt' '8.0~'; then
echo "Removing the during beta added pvetest repository file again"
rm -v "$BETA_SOURCES" || true
fi