summaryrefslogtreecommitdiff
path: root/.old/dnfu
diff options
context:
space:
mode:
Diffstat (limited to '.old/dnfu')
-rwxr-xr-x.old/dnfu10
1 files changed, 10 insertions, 0 deletions
diff --git a/.old/dnfu b/.old/dnfu
new file mode 100755
index 0000000..9f6a9cb
--- /dev/null
+++ b/.old/dnfu
@@ -0,0 +1,10 @@
+#!/bin/sh
+sudo ln -sf /bin/bash /bin/sh
+
+sudo dnf update $@
+
+sudo dnf remove $@ --oldinstallonly --setopt installonly_limit=2 kernel
+
+sudo dnf autoremove $@
+
+sudo ln -sf /bin/dash /bin/sh