Compare commits

..

No commits in common. "a67afa9b4b727ba9a705cb094ef5572a694b1ce0" and "bdb636e4b964389bfe709151fa92a8551534dc5e" have entirely different histories.

2 changed files with 1 additions and 21 deletions

View File

@ -38,8 +38,7 @@ 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 hash dnf 2> /dev/null; 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 +56,6 @@ 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
rpm-ostree upgrade
fi
# Arch Linux package management

View File

@ -1,16 +0,0 @@
#!/usr/bin/env bash
set -x
# The usual system-wide installation
if [ -f /usr/bin/kate ]; then
/usr/bin/kate "$@"
# System-wide flatpak
elif [ -f /var/lib/flatpak/exports/bin/org.kde.kate ]; then
flatpak run org.kde.kate "$@"
# User-specific flatpak
elif [ -f ~/.local/share/flatpak/exports/bin/org.kde.kate ]; then
flatpak run --user org.kde.kate "$@"
# If not found.
else
printf "kate doesn't seem to be installed :("
fi
set +x