Browse Source

bootstrap GiteaPC with itself

master
Lephenixnoir 9 months ago
parent
commit
556277fc3c
Signed by untrusted user: Lephenixnoir GPG Key ID: 1BBA026E13FC0495
  1. 1
      .gitignore
  2. 19
      giteapc.make
  3. 5
      install.sh

1
.gitignore

@ -1 +1,2 @@
__pycache__
giteapc-config-*.make

19
giteapc.make

@ -0,0 +1,19 @@
# giteapc: version=1
ifneq ($(GITEAPC_CONFIG),)
include giteapc-config-$(GITEAPC_CONFIG).make
endif
configure:
@ true
build:
@ true
install:
@ make install
uninstall:
@ make uninstall
.PHONY: configure build install uninstall

5
install.sh

@ -10,10 +10,9 @@ cd "$(mktemp -d)"
curl "$URL" -o giteapc-master.tar.gz
tar -xzf giteapc-master.tar.gz && cd giteapc
# Install the program itself (not to $PREFIX, which is for programs installed
# by GiteaPC)
# Bootstrap the program by installing it with iself (allowing updates)
make install
python3 giteapc.py install Lephenixnoir/GiteaPC
# Check whether the bin folder is already in the PATH

Loading…
Cancel
Save