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