mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-04 21:27:21 +02:00
Compare commits
No commits in common. "1005790a5866872102f4e851a200d8661591089a" and "a67afa9b4b727ba9a705cb094ef5572a694b1ce0" have entirely different histories.
1005790a58
...
a67afa9b4b
@ -38,9 +38,8 @@ if hash fedora-third-party 2> /dev/null; then
|
||||
fedora-third-party query
|
||||
fi
|
||||
|
||||
# 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
|
||||
# TODO: Better way of identifying Fedora Atomic! There is the overlayfs thing?
|
||||
if [[ -f /usr/bin/dnf && ! -d /var/roothome ]]; 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.
|
||||
@ -58,10 +57,9 @@ if [[ -f /usr/bin/dnf && ! -d /sysroot/ostree ]]; then
|
||||
|
||||
# potentially unsafe, see a few lines above and the apt-get section
|
||||
dnf "$@" autoremove
|
||||
elif [[ -f /usr/bin/rpm-ostree && -d /sysroot/ostree ]]; then
|
||||
# TODO: Better way of identifying Fedora Atomic! There is the overlayfs thing?
|
||||
elif [[ -f /usr/bin/rpm-ostree && -d /var/roothome ]]; then
|
||||
rpm-ostree upgrade
|
||||
# This may flash far too fast otherwise
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
# Arch Linux package management
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 564890434d2f5771b6f00de7af4b135d97c7964b
|
||||
Subproject commit b5f67ed87ec94517895a2f532020478488d89974
|
@ -1 +1 @@
|
||||
Subproject commit 8f978bfdd0191a6375971f365a95df8afd7eef86
|
||||
Subproject commit f55f61762768c4d5c81944c3890e2eceb6a2816a
|
Loading…
x
Reference in New Issue
Block a user