Compare commits

..

3 Commits

3 changed files with 8 additions and 6 deletions

View File

@ -38,8 +38,9 @@ if hash fedora-third-party 2> /dev/null; then
fedora-third-party query
fi
# TODO: Better way of identifying Fedora Atomic! There is the overlayfs thing?
if [[ -f /usr/bin/dnf && ! -d /var/roothome ]]; then
# If we have a /sysroot/ostree chances are we are on Fedora Atomic and
# should use rpm-ostree instead of dnf
if [[ -f /usr/bin/dnf && ! -d /sysroot/ostree ]]; then
# I don't know if -y does anything here either and I think this may be
# useless, but I am used to it coming from apt and I think it will just
# say nothing to do or do nothing if mirrors haven't updated.
@ -57,9 +58,10 @@ if [[ -f /usr/bin/dnf && ! -d /var/roothome ]]; then
# potentially unsafe, see a few lines above and the apt-get section
dnf "$@" autoremove
# TODO: Better way of identifying Fedora Atomic! There is the overlayfs thing?
elif [[ -f /usr/bin/rpm-ostree && -d /var/roothome ]]; then
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
rpm-ostree upgrade
# This may flash far too fast otherwise
sleep 5
fi
# Arch Linux package management

@ -1 +1 @@
Subproject commit b5f67ed87ec94517895a2f532020478488d89974
Subproject commit 564890434d2f5771b6f00de7af4b135d97c7964b

@ -1 +1 @@
Subproject commit f55f61762768c4d5c81944c3890e2eceb6a2816a
Subproject commit 8f978bfdd0191a6375971f365a95df8afd7eef86