Skip to content

Commit 2b064e2

Browse files
committed
[openSUSE] Fix zypper ar calls (-f for refresh)
1 parent f68b42a commit 2b064e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oscfg/opensuse.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ opensuse_distro() {
2828
echo "Unsupported openSUSE distro ($DISTRO). Supported are tumbleweed and leap!"
2929
exit 1
3030
fi
31-
$ZYPPCMD ar -r $DLURL$REPO repo-oss
32-
$ZYPPCMD ar -r $DLURL$UPDATEREPO repo-oss-update
31+
$ZYPPCMD ar -f $DLURL$REPO repo-oss
32+
$ZYPPCMD ar -f $DLURL$UPDATEREPO repo-oss-update
3333
$ZYPPCMD --gpg-auto-import-keys ref
3434
$ZYPPCMD install --download in-advance -t pattern enhanced_base x11
3535
$ZYPPCMD install --download in-advance NetworkManager spice-vdagent

0 commit comments

Comments
 (0)