Introduction
Introduction Statistics Contact Development Disclaimer Help
fix user path for fdm - bootstrap - Bootstrap script for my alpine linux deskto…
Log
Files
Refs
README
---
commit 4c7b43ec632c595c4bf92d6e771915dc43e43e2e
parent dda3fdfc7f44ce88a095e5024d89db4abea9cb0b
Author: Jay Scott <[email protected]>
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(-)
---
diff --git a/README b/README
@@ -5,4 +5,8 @@ This is a script to bootstrap a base alpine Linux install. quit…
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/…
doas sh install.sh
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
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.