aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-11-21 17:00:27 +0100
committerWojtek Kosior <koszko@koszko.org>2022-11-21 20:08:19 +0100
commitf4cdf84714f7ddba795b20640d1390721871a5b0 (patch)
tree3105ab1dc7007538b99db574baf6a424fb92305b
parentc132a774cb39b3f56d94f5e8e2f35a814673566b (diff)
downloadkoszko-org-server-f4cdf84714f7ddba795b20640d1390721871a5b0.tar.gz
koszko-org-server-f4cdf84714f7ddba795b20640d1390721871a5b0.zip
make reinstall possible
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3c5f7e8..1e7e37b 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,9 @@ fake-client: fake-client-setup-mounts.sh hosts
install: container.scm sdists
cp guix-container.sh /etc/init.d/guix-container
mkdir -p /usr/local/bin
+ if [ -e /usr/local/bin/guix-container ]; then \
+ rm /usr/local/bin/guix-container; \
+ fi
$(GUIX_SYS_CONTAINER) container.scm -r /usr/local/bin/guix-container
reinstall: