summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-08-07 11:02:32 +0200
committerMarc Vertes <mvertes@free.fr>2023-08-07 11:02:32 +0200
commit9c5dc55abf1445e75abc8c15acfd37356730f972 (patch)
treeefcb228a70980085422cd64a071bc61b735188e2
parentcff7dffc0c364c66e3e228bafc914de756d043bb (diff)
updateslackware
-rw-r--r--.fvwm2rc8
-rwxr-xr-xbin/slup11
-rwxr-xr-xbin/update_slack_kernel5
3 files changed, 20 insertions, 4 deletions
diff --git a/.fvwm2rc b/.fvwm2rc
index 7acddd5..44b4549 100644
--- a/.fvwm2rc
+++ b/.fvwm2rc
@@ -98,14 +98,14 @@ AddToMenu "Desktop-Apps"
+ "&Chromium" Exec exec chromium
+ "&Discord" Exec exec discord
+ "&Firefox" Exec exec firefox
-#+ "&Google Chrome" Exec exec google-chrome-stable
++ "&Google Chrome" Exec exec google-chrome-stable
#+ "&Keybase" Exec exec keybase-gui
#+ "&LibreOffice" Exec exec libreoffice
++ "Sea&Monkey" Exec exec seamonkey
+ "&RSS Guard" Exec exec rssguard -n
+ "S&ignal" Exec exec signal-desktop
-+ "&Slack" Exec exec slack
-+ "Sea&Monkey" Exec exec seamonkey
-+ "&Zoom" Exec exec zoom
+#+ "&Slack" Exec exec slack
+#+ "&Zoom" Exec exec zoom
DestroyMenu "Settings"
AddToMenu "Settings"
diff --git a/bin/slup b/bin/slup
new file mode 100755
index 0000000..72baede
--- /dev/null
+++ b/bin/slup
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Slackware packages update.
+
+[ "$USER" = root ] || exec sudo "$0" "$@"
+
+slackpkg -batch=on update
+slackpkg upgrade-all
+
+[ /boot/vmlinuz -nt /boot/initrd.gz ] &&
+ geninitrd && cd /boot && cp -p vmlinuz initrd.gz efi/EFI/Slackware/
diff --git a/bin/update_slack_kernel b/bin/update_slack_kernel
new file mode 100755
index 0000000..90eac82
--- /dev/null
+++ b/bin/update_slack_kernel
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ "$USER" = root ] || exec sudo "$0" "$@"
+
+geninitrd && cd /boot && cp -p vmlinuz initrd.gz efi/EFI/Slackware/