From 8f2a786826c67071f4dc01ff6f254d1b593eabe6 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Mon, 3 Jul 2023 12:40:12 +0200 Subject: [PATCH] package_selections/**: rename post-install to post_install bc bash was unhappy about it --- package_selections/audio/none | 2 +- package_selections/audio/pipewire | 2 +- package_selections/audio/pipewire-slim | 2 +- package_selections/desktop/icewm-fancy | 2 +- package_selections/desktop/icewm-light | 2 +- package_selections/desktop/none | 2 +- package_selections/desktop/openbox | 2 +- package_selections/extras/all | 2 +- package_selections/extras/all-no-minecraft | 2 +- package_selections/extras/desktop-backgrounds | 2 +- package_selections/extras/minecraft | 2 +- package_selections/extras/minesweeper | 2 +- package_selections/extras/none | 2 +- package_selections/extras/snake | 2 +- package_selections/multimedia/none | 2 +- package_selections/multimedia/vlc | 2 +- package_selections/nvidia/none | 2 +- package_selections/nvidia/nvidia | 2 +- package_selections/nvidia/nvidia390 | 2 +- package_selections/nvidia/nvidia470 | 2 +- package_selections/pre-configure/bashrc | 2 +- package_selections/pre-configure/gui-and-bashrc | 2 +- package_selections/pre-configure/none | 2 +- package_selections/systray/network | 2 +- package_selections/systray/network-and-audio | 2 +- package_selections/systray/none | 2 +- package_selections/terminal/lxterminal | 2 +- package_selections/terminal/none | 2 +- package_selections/terminal/xterm | 2 +- package_selections/utilities/desktop-integrated-guisysmon | 2 +- package_selections/utilities/desktop-integrated-htop | 2 +- package_selections/utilities/none | 2 +- package_selections/utilities/xfe-guisysmon | 2 +- package_selections/utilities/xfe-htop | 2 +- package_selections/web/elinks | 2 +- package_selections/web/evil | 2 +- package_selections/web/firefox | 2 +- package_selections/web/firefox-esr | 2 +- package_selections/web/none | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/package_selections/audio/none b/package_selections/audio/none index bbab7f6..10dc7fd 100644 --- a/package_selections/audio/none +++ b/package_selections/audio/none @@ -6,6 +6,6 @@ DESCRIPTION="No audio" PACKAGES="" -function post-install { +function post_install { echo "audio/none" >> /tmp/stage-2-choices } diff --git a/package_selections/audio/pipewire b/package_selections/audio/pipewire index 9c052ef..239e75d 100644 --- a/package_selections/audio/pipewire +++ b/package_selections/audio/pipewire @@ -10,6 +10,6 @@ DESCRIPTION="Pipewire with GUI settings (Pavucontrol)" PACKAGES="pipewire pavucontrol" -function post-install { +function post_install { echo "audio/pipewire" >> /tmp/stage-2-choices } diff --git a/package_selections/audio/pipewire-slim b/package_selections/audio/pipewire-slim index e0462d4..002b2d5 100644 --- a/package_selections/audio/pipewire-slim +++ b/package_selections/audio/pipewire-slim @@ -10,6 +10,6 @@ DESCRIPTION="Pipewire with text-based settings (pulsemixer)" PACKAGES="pipewire pulsemixer" -function post-install { +function post_install { echo "audio/pipewire-slim" >> /tmp/stage-2-choices } diff --git a/package_selections/desktop/icewm-fancy b/package_selections/desktop/icewm-fancy index 91c2408..f56871a 100644 --- a/package_selections/desktop/icewm-fancy +++ b/package_selections/desktop/icewm-fancy @@ -7,6 +7,6 @@ DESCRIPTION="BodgeMaster’s IceWM setup (recommended)" # TODO PACKAGES="" -function post-install { +function post_install { echo "desktop/icewm-fancy" >> /tmp/stage-2-choices } diff --git a/package_selections/desktop/icewm-light b/package_selections/desktop/icewm-light index 55bf6ed..dbec550 100644 --- a/package_selections/desktop/icewm-light +++ b/package_selections/desktop/icewm-light @@ -7,6 +7,6 @@ DESCRIPTION="Lighter IceWM setup" # TODO PACKAGES="" -function post-install { +function post_install { echo "desktop/icewm-light" >> /tmp/stage-2-choices } diff --git a/package_selections/desktop/none b/package_selections/desktop/none index 4783fc3..7961c07 100644 --- a/package_selections/desktop/none +++ b/package_selections/desktop/none @@ -6,6 +6,6 @@ DESCRIPTION="No desktop - for advanced users that want to set things up themselv PACKAGES="" -function post-install { +function post_install { echo "desktop/none" >> /tmp/stage-2-choices } diff --git a/package_selections/desktop/openbox b/package_selections/desktop/openbox index e77a1c6..80e9259 100644 --- a/package_selections/desktop/openbox +++ b/package_selections/desktop/openbox @@ -8,6 +8,6 @@ DESCRIPTION="OpenBox window manager (even more lightweight???)" # TODO also add xclock PACKAGES="" -function post-install { +function post_install { echo "desktop/openbox" >> /tmp/stage-2-choices } diff --git a/package_selections/extras/all b/package_selections/extras/all index 573cc28..a11980d 100644 --- a/package_selections/extras/all +++ b/package_selections/extras/all @@ -11,7 +11,7 @@ DESCRIPTION="All of the above" #TODO PACKAGES="" -function post-install { +function post_install { # TODO: configure desktop backgounds if using IceWM echo "extras/all" >> /tmp/stage-2-choices } diff --git a/package_selections/extras/all-no-minecraft b/package_selections/extras/all-no-minecraft index cfb3f58..0dce73a 100644 --- a/package_selections/extras/all-no-minecraft +++ b/package_selections/extras/all-no-minecraft @@ -11,7 +11,7 @@ DESCRIPTION="All of the above except Minecraft" #TODO PACKAGES="" -function post-install { +function post_install { # TODO: configure desktop backgounds if using IceWM echo "extras/all-no-minecraft" >> /tmp/stage-2-choices } diff --git a/package_selections/extras/desktop-backgrounds b/package_selections/extras/desktop-backgrounds index bbd834c..17b92bb 100644 --- a/package_selections/extras/desktop-backgrounds +++ b/package_selections/extras/desktop-backgrounds @@ -10,7 +10,7 @@ DESCRIPTION="Add some desktop backgrounds and randomly choose one on login" PACKAGES="" -function post-install { +function post_install { # TODO: configure echo "extras/desktop-backgrounds" >> /tmp/stage-2-choices } diff --git a/package_selections/extras/minecraft b/package_selections/extras/minecraft index e6e0765..d458592 100644 --- a/package_selections/extras/minecraft +++ b/package_selections/extras/minecraft @@ -11,6 +11,6 @@ DESCRIPTION="Prism Launcher for Minecraft" #TODO: Java stuff PACKAGES="PrismLauncher" -function post-install { +function post_install { echo "extras/minecraft" >> /tmp/stage-2-choices } diff --git a/package_selections/extras/minesweeper b/package_selections/extras/minesweeper index 94beac3..f7e4c54 100644 --- a/package_selections/extras/minesweeper +++ b/package_selections/extras/minesweeper @@ -12,6 +12,6 @@ DESCRIPTION="??? (Minesweeper)" #TODO PACKAGES="" -function post-install { +function post_install { echo "extras/minesweeper" >> /tmp/stage-2-choices } diff --git a/package_selections/extras/none b/package_selections/extras/none index 1004162..f5a74a6 100644 --- a/package_selections/extras/none +++ b/package_selections/extras/none @@ -6,6 +6,6 @@ DESCRIPTION="None" PACKAGES="" -function post-install { +function post_install { echo "extras/none" >> /tmp/stage-2-choices } diff --git a/package_selections/extras/snake b/package_selections/extras/snake index 3dec7dc..f5ba485 100644 --- a/package_selections/extras/snake +++ b/package_selections/extras/snake @@ -12,6 +12,6 @@ DESCRIPTION="nSnake" #TODO PACKAGES="nSnake" -function post-install { +function post_install { echo "extras/snake" >> /tmp/stage-2-choices } diff --git a/package_selections/multimedia/none b/package_selections/multimedia/none index 0ba9c16..071bbeb 100644 --- a/package_selections/multimedia/none +++ b/package_selections/multimedia/none @@ -6,6 +6,6 @@ DESCRIPTION="No" PACKAGES="" -function post-install { +function post_install { echo "multimedia/none" >> /tmp/stage-2-choices } diff --git a/package_selections/multimedia/vlc b/package_selections/multimedia/vlc index 2428b2f..badb744 100644 --- a/package_selections/multimedia/vlc +++ b/package_selections/multimedia/vlc @@ -11,6 +11,6 @@ DESCRIPTION="Install VLC" #TODO: fluidsynth MIDI stuff PACKAGES="vlc" -function post-install { +function post_install { echo "multimedia/vlc" >> /tmp/stage-2-choices } diff --git a/package_selections/nvidia/none b/package_selections/nvidia/none index ca24ea2..c07db39 100644 --- a/package_selections/nvidia/none +++ b/package_selections/nvidia/none @@ -6,6 +6,6 @@ DESCRIPTION="Don’t install." PACKAGES="" -function post-install { +function post_install { echo "nvidia/none" >> /tmp/stage-2-choices } diff --git a/package_selections/nvidia/nvidia b/package_selections/nvidia/nvidia index e9efae6..26e9911 100644 --- a/package_selections/nvidia/nvidia +++ b/package_selections/nvidia/nvidia @@ -11,7 +11,7 @@ DESCRIPTION="Latest Nvidia driver, supports GTX ??? series and up" #TODO: optimus support? PACKAGES="nvidia" -function post-install { +function post_install { #TODO: nvidia modeset kernel parameter? echo "nvidia/nvidia" >> /tmp/stage-2-choices } diff --git a/package_selections/nvidia/nvidia390 b/package_selections/nvidia/nvidia390 index 51261f6..930b243 100644 --- a/package_selections/nvidia/nvidia390 +++ b/package_selections/nvidia/nvidia390 @@ -11,7 +11,7 @@ DESCRIPTION="Legacy Nvidia driver, version 390, supports GTX ??? series" #TODO: Optimus support? PACKAGES="nvidia390" -function post-install { +function post_install { #TODO: nvidia modeset kernel parameter? echo "nvidia/nvidia390" >> /tmp/stage-2-choices } diff --git a/package_selections/nvidia/nvidia470 b/package_selections/nvidia/nvidia470 index bd6b6e1..db95f1f 100644 --- a/package_selections/nvidia/nvidia470 +++ b/package_selections/nvidia/nvidia470 @@ -11,7 +11,7 @@ DESCRIPTION="Legacy Nvidia driver, version 470, supports GTX ??? series" #TODO: optimus support? PACKAGES="nvidia470" -function post-install { +function post_install { #TODO: nvidia modeset kernel parameter? echo "nvidia/nvidia470" >> /tmp/stage-2-choices } diff --git a/package_selections/pre-configure/bashrc b/package_selections/pre-configure/bashrc index 42add9f..2a069de 100644 --- a/package_selections/pre-configure/bashrc +++ b/package_selections/pre-configure/bashrc @@ -6,7 +6,7 @@ DESCRIPTION="Only add custom bashrc (advanced users)" PACKAGES="" -function post-install { +function post_install { #TODO: configure things echo "pre-configure/bashrc" >> /tmp/stage-2-choices diff --git a/package_selections/pre-configure/gui-and-bashrc b/package_selections/pre-configure/gui-and-bashrc index f3cea31..d08514e 100644 --- a/package_selections/pre-configure/gui-and-bashrc +++ b/package_selections/pre-configure/gui-and-bashrc @@ -10,7 +10,7 @@ DESCRIPTION="Auto-start GUI session on login and add custom bashrc (recommended) PACKAGES="" -function post-install { +function post_install { #TODO: configure things echo "pre-configure/gui-and-bashrc" >> /tmp/stage-2-choices diff --git a/package_selections/pre-configure/none b/package_selections/pre-configure/none index bf3fdea..2ee7673 100644 --- a/package_selections/pre-configure/none +++ b/package_selections/pre-configure/none @@ -6,6 +6,6 @@ DESCRIPTION="No (advanced users)" PACKAGES="" -function post-install { +function post_install { echo "pre-configure/none" >> /tmp/stage-2-choices } diff --git a/package_selections/systray/network b/package_selections/systray/network index 21cca79..1211514 100644 --- a/package_selections/systray/network +++ b/package_selections/systray/network @@ -15,6 +15,6 @@ DESCRIPTION="Add tray icon for network" #TODO PACKAGES="" -function post-install { +function post_install { echo "systray/network" >> /tmp/stage-2-choices } diff --git a/package_selections/systray/network-and-audio b/package_selections/systray/network-and-audio index 6300567..3b33f8f 100644 --- a/package_selections/systray/network-and-audio +++ b/package_selections/systray/network-and-audio @@ -15,6 +15,6 @@ DESCRIPTION="Add tray icon for network and audio" #TODO PACKAGES="" -function post-install { +function post_install { echo "systray/network-and-audio" >> /tmp/stage-2-choices } diff --git a/package_selections/systray/none b/package_selections/systray/none index bfce3cb..8b06d96 100644 --- a/package_selections/systray/none +++ b/package_selections/systray/none @@ -6,6 +6,6 @@ DESCRIPTION="Don’t install additional tray icons" PACKAGES="" -function post-install { +function post_install { echo "systray/none" >> /tmp/stage-2-choices } diff --git a/package_selections/terminal/lxterminal b/package_selections/terminal/lxterminal index d35c761..33816b1 100644 --- a/package_selections/terminal/lxterminal +++ b/package_selections/terminal/lxterminal @@ -10,6 +10,6 @@ DESCRIPTION="LXDE Terminal (recommended)" PACKAGES="lxterminal" -function post-install { +function post_install { echo "terminal/lxterminal" >> /tmp/stage-2-choices } diff --git a/package_selections/terminal/none b/package_selections/terminal/none index 27811e7..1f6318b 100644 --- a/package_selections/terminal/none +++ b/package_selections/terminal/none @@ -6,6 +6,6 @@ DESCRIPTION="None (advanced users only)" PACKAGES="none" -function post-install { +function post_install { echo "terminal/none" >> /tmp/stage-2-choices } diff --git a/package_selections/terminal/xterm b/package_selections/terminal/xterm index b2004d5..bc46ba7 100644 --- a/package_selections/terminal/xterm +++ b/package_selections/terminal/xterm @@ -10,6 +10,6 @@ DESCRIPTION="Xterm" PACKAGES="xterm" -function post-install { +function post_install { echo "terminal/xterm" >> /tmp/stage-2-choices } diff --git a/package_selections/utilities/desktop-integrated-guisysmon b/package_selections/utilities/desktop-integrated-guisysmon index 7f07634..b03078b 100644 --- a/package_selections/utilities/desktop-integrated-guisysmon +++ b/package_selections/utilities/desktop-integrated-guisysmon @@ -12,6 +12,6 @@ DESCRIPTION="Fully featured (list of things) (recommended)" #TODO PACKAGES="" -function post-install { +function post_install { echo "utilities/desktop-integrated-guisysmon" >> /tmp/stage-2-choices } diff --git a/package_selections/utilities/desktop-integrated-htop b/package_selections/utilities/desktop-integrated-htop index 4bad1f1..bfdb6c9 100644 --- a/package_selections/utilities/desktop-integrated-htop +++ b/package_selections/utilities/desktop-integrated-htop @@ -12,6 +12,6 @@ DESCRIPTION="Fully featured (list of things with htop)" #TODO PACKAGES="" -function post-install { +function post_install { echo "utilities/desktop-integrated-htop" >> /tmp/stage-2-choices } diff --git a/package_selections/utilities/none b/package_selections/utilities/none index 7b0d51b..47552a1 100644 --- a/package_selections/utilities/none +++ b/package_selections/utilities/none @@ -6,6 +6,6 @@ DESCRIPTION="None" PACKAGES="" -function post-install { +function post_install { echo "utilities/none" >> /tmp/stage-2-choices } diff --git a/package_selections/utilities/xfe-guisysmon b/package_selections/utilities/xfe-guisysmon index b6d2c46..c4b6d75 100644 --- a/package_selections/utilities/xfe-guisysmon +++ b/package_selections/utilities/xfe-guisysmon @@ -12,6 +12,6 @@ DESCRIPTION="Smaller set of desktop utilities (XFE + ???)" #TODO PACKAGES="xfe" -function post-install { +function post_install { echo "utilities/xfe-guisysmon" >> /tmp/stage-2-choices } diff --git a/package_selections/utilities/xfe-htop b/package_selections/utilities/xfe-htop index 833b2a5..5b8b578 100644 --- a/package_selections/utilities/xfe-htop +++ b/package_selections/utilities/xfe-htop @@ -10,6 +10,6 @@ DESCRIPTION="Smaller set of desktop utilities (XFE + Htop)" PACKAGES="xfe htop" -function post-install { +function post_install { echo "utilities/xfe-htop" >> /tmp/stage-2-choices } diff --git a/package_selections/web/elinks b/package_selections/web/elinks index ecb4d2b..0149b86 100644 --- a/package_selections/web/elinks +++ b/package_selections/web/elinks @@ -6,6 +6,6 @@ DESCRIPTION="Install ELinks (terminal-based browser)" PACKAGES="elinks" -function post-install { +function post_install { echo "web/elinks" >> /tmp/stage-2-choices } diff --git a/package_selections/web/evil b/package_selections/web/evil index a4e3f45..d0847ce 100644 --- a/package_selections/web/evil +++ b/package_selections/web/evil @@ -10,6 +10,6 @@ DESCRIPTION="Join the dark side with Chromium (Consider Firefox... You can still PACKAGES="chromium" -function post-install { +function post_install { echo "web/evil" >> /tmp/stage-2-choices } diff --git a/package_selections/web/firefox b/package_selections/web/firefox index 8c81b55..ff44806 100644 --- a/package_selections/web/firefox +++ b/package_selections/web/firefox @@ -10,6 +10,6 @@ DESCRIPTION="Install Firefox (recommended)" PACKAGES="firefox" -function post-install { +function post_install { echo "web/firefox" >> /tmp/stage-2-choices } diff --git a/package_selections/web/firefox-esr b/package_selections/web/firefox-esr index f8c3b53..88827c6 100644 --- a/package_selections/web/firefox-esr +++ b/package_selections/web/firefox-esr @@ -10,6 +10,6 @@ DESCRIPTION="Install Firefox - Extended Support Release (ESR)" PACKAGES="firefox-esr" -function post-install { +function post_install { echo "web/firefox-esr" >> /tmp/stage-2-choices } diff --git a/package_selections/web/none b/package_selections/web/none index 32d0693..faa41dc 100644 --- a/package_selections/web/none +++ b/package_selections/web/none @@ -6,6 +6,6 @@ DESCRIPTION="No web browser" PACKAGES="" -function post-install { +function post_install { echo "web/none" >> /tmp/stage-2-choices }