fix user path for fdm - bootstrap - Bootstrap script for my alpine linux desktop.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 4c7b43ec632c595c4bf92d6e771915dc43e43e2e
(DIR) parent dda3fdfc7f44ce88a095e5024d89db4abea9cb0b
(HTM) Author: Jay Scott <me@jay.scot>
Date: Wed, 28 Sep 2022 20:56:25 +0100
fix user path for fdm
Diffstat:
M README | 4 ++++
M install.sh | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/README b/README
@@ -5,4 +5,8 @@ This is a script to bootstrap a base alpine Linux install. quite unique
to my setup so doubt it would be useful to anyone else. Change the two
variables to match your requirements.
+This script is just a quick hack to get the system up and running, don't
+expect anything pretty.
+
+ curl -O https://git.sr.ht/~jayscott/alpine-bootstrap/tree/master/item/install.sh
doas sh install.sh
(DIR) diff --git a/install.sh b/install.sh
@@ -2,7 +2,7 @@
# bootstrap for alpine linux
user="jay"
-src="/home/jay/src"
+src="/home/$user/src"
echo "── enable community repo"
sed -i '/v3\..*\/community/s/^#//g' /etc/apk/repositories
@@ -61,7 +61,7 @@ if [ ! -e /home/$user/bin/fdm ]; then
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-pcre --mandir=/usr/share/man
make
- cp fdm /home/jay/bin
+ cp fdm /home/$user/bin
chown -R $user:$user $src/fdm-$pkgver
fi