adding abuild env paths - bootstrap - Bootstrap script for my alpine linux desktop.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit e565a1c1c2bec7a82b45127a776ee320cb6f298d
(DIR) parent 3cbfac111250014b8704eed8440ae8570bd35d69
(HTM) Author: Jay Scott <me@jay.scot>
Date: Sat, 7 Jan 2023 11:26:17 +0000
adding abuild env paths
Diffstat:
M install.sh | 8 ++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/install.sh b/install.sh
@@ -33,6 +33,12 @@ apk add pipewire-pulse pamixer dbus dbus-openrc pipewire wireplumber \
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 "/home/$user" ]; then
echo "── creating user $user"
adduser "$user"
@@ -45,6 +51,8 @@ if [ ! -d "/home/$user" ]; then
adduser "$user" rtkit
mkdir "/home/$user/.config"
mkdir "$src"
+
+ # install dotfiles
git clone "$dots" /home/$user/src/dotfiles
cd src/dotfiles && sh $user -c bootstrap.sh link
fi