Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/core
This commit is contained in:
commit
07fd62e330
@ -43,6 +43,10 @@ fi
|
|||||||
mkdir -p $DOM0_UPDATES_DIR/etc
|
mkdir -p $DOM0_UPDATES_DIR/etc
|
||||||
sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf
|
sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf
|
||||||
|
|
||||||
|
# Rebuild rpm database in case of different rpm version
|
||||||
|
rm -f $DOM0_UPDATES_DIR/var/lib/rpm/__*
|
||||||
|
rpm --root=$DOM0_UPDATES_DIR --rebuilddb
|
||||||
|
|
||||||
if [ "$CLEAN" = "1" ]; then
|
if [ "$CLEAN" = "1" ]; then
|
||||||
yum $OPTS clean all
|
yum $OPTS clean all
|
||||||
rm -f $DOM0_UPDATES_DIR/packages/*
|
rm -f $DOM0_UPDATES_DIR/packages/*
|
||||||
|
Loading…
Reference in New Issue
Block a user