forked from jason/cpolis
Fixed a typo
This commit is contained in:
parent
129c85929c
commit
ff6c7a66d7
@ -11,9 +11,9 @@ SYSTEMD_USER_DIR=$HOME/.config/systemd/user
|
||||
! which tar >/dev/null 2>&1 && echo "tar needs to be installed" >&2 && exit 1
|
||||
! which xargs >/dev/null 2>&1 && echo "xargs needs to be installed" >&2 && exit 1
|
||||
|
||||
rm -fr $CPOLIS_PATH
|
||||
latest_release=$(curl -s $CPOLIS_REPO_URL | jq -r '.[0].tag_name')
|
||||
curl -Lo cpolis.tar.gz https://git.streifling.com/jason/cpolis/archive/$latest_release.tar.gz
|
||||
rm -fr $CPOLIS_PATH
|
||||
tar -xzf cpolis.tar.gz -C $CPOLIS_PATH
|
||||
rm cpolis.tar.gz
|
||||
|
||||
@ -26,7 +26,7 @@ chmod +x $CPOLIS_PATH/tailwindcss
|
||||
$CPOLIS_PATH/tailwindcss -i web/static/css/input.css -o web/static/css/style.css
|
||||
|
||||
go build -o $CPOLIS_PATH/cpolis $CPOLIS_PATH/cmd/main.go
|
||||
chmox +x $CPOLIS_PATH/cpolis
|
||||
chmod +x $CPOLIS_PATH/cpolis
|
||||
|
||||
[ ! -f $SYSTEMD_USER_DIR ] && mkdir -p $SYSTEMD_USER_DIR
|
||||
mv $CPOLIS_PATH/cpolis.service $SYSTEMD_USER_DIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user