Introduction
Introduction Statistics Contact Development Disclaimer Help
adding conditional to abuild setup - bootstrap - Bootstrap script for my alpine…
Log
Files
Refs
README
---
commit b45bd1ac86e139fdf942629501e9d4c390f04852
parent 48a4a586c35d86c04acd78f83fd135c9e889bc24
Author: Jay Scott <[email protected]>
Date: Tue, 10 Jan 2023 22:37:48 +0000
adding conditional to abuild setup
Diffstat:
M install.sh | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/install.sh b/install.sh
@@ -28,16 +28,18 @@ apk add urlview shfmt shellcheck openssh gemget yt-dlp pass…
echo "── installing audio"
apk add pipewire-pulse pamixer dbus dbus-openrc pipewire wireplumber \
- rtkit pipewire-alsa moc
+ rtkit pipewire-alsa cmus
echo "── installing documentation"
apk add mandoc mandoc-apropos man-pages docs
echo "── setup abuild environment"
-mkdir -p /var/cache/distfiles
-chmod a+w /var/cache/distfiles
-chgrp abuild /var/cache/distfiles
-chmod g+w /var/cache/distfiles
+if [ ! -d /var/cache/disfiles ]; then
+ mkdir -p /var/cache/distfiles
+ chmod a+w /var/cache/distfiles
+ chgrp abuild /var/cache/distfiles
+ chmod g+w /var/cache/distfiles
+fi
if [ ! -d "/home/$user" ]; then
echo "── creating user $user"
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.