diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-22 11:13:31 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-22 11:13:31 -0500 |
commit | 6ae7f049902679834bf810c85172dd6e67acba3f (patch) | |
tree | 7da6f26c0051b87115ad001e0082b1848ac70156 /hooks/pre-up | |
parent | 40145309063002c2727cf30608c9535ce2f30718 (diff) | |
download | rcm-6ae7f049902679834bf810c85172dd6e67acba3f.tar.gz rcm-6ae7f049902679834bf810c85172dd6e67acba3f.tar.bz2 rcm-6ae7f049902679834bf810c85172dd6e67acba3f.zip |
Update install scripts
Diffstat (limited to '')
-rwxr-xr-x | hooks/pre-up/1-ksh | 6 | ||||
-rwxr-xr-x | hooks/pre-up/3-void | 12 |
2 files changed, 3 insertions, 15 deletions
diff --git a/hooks/pre-up/1-ksh b/hooks/pre-up/1-ksh index ba33b10..30dd8e1 100755 --- a/hooks/pre-up/1-ksh +++ b/hooks/pre-up/1-ksh @@ -1,6 +1,6 @@ #!/bin/sh -if ! [ -x "$(command -v ksh)" ]; then - sudo xbps-install -y ksh - chsh -s /bin/ksh +if ! [ -x "$(command -v mksh)" ]; then + sudo xbps-install -y mksh + echo "Installed, run chsh -s /bin/mksh" fi diff --git a/hooks/pre-up/3-void b/hooks/pre-up/3-void index ab494c3..f8b7bc5 100755 --- a/hooks/pre-up/3-void +++ b/hooks/pre-up/3-void @@ -5,18 +5,6 @@ if ! [ -x "$(command -v xpkg)" ]; then sudo xbps-install -y xtools fi -if ! [ -x "$(command -v nmtui)" ]; then - sudo xbps-install -y NetworkManager - sudo ln -s /etc/sv/NetworkManager /var/service - sudo sv stop wpa_supplicant - sudo sv start NetworkManager -fi - -# Set up file sync -if [ ! -f ~/repository.list ]; then - xpkg -m > ~/repository.list -fi - if [ ! "$(cat ~/repository.list | grep 'void-repo-nonfree')" ]; then sudo xbps-install -y void-repo-nonfree fi |