Remove unnecessary mv from update.sh
This commit is contained in:
parent
cd67fe6df3
commit
e4589f3b84
@ -43,13 +43,13 @@ chmod +x $CPOLIS_DIR/tailwindcss
|
||||
$CPOLIS_DIR/tailwindcss -i $CPOLIS_DIR/web/static/css/input.css -o $CPOLIS_DIR/web/static/css/style.css
|
||||
|
||||
echo '\nBuilding cpolis...' >&2
|
||||
go build -o $TMP_DIR/cpolis $CPOLIS_DIR/cmd/main.go
|
||||
go build -o $BIN_DIR/cpolis $CPOLIS_DIR/cmd/main.go
|
||||
|
||||
echo '\nSetting system files up...' >&2
|
||||
sudo mv $TMP_DIR/cpolis $BIN_DIR/cpolis
|
||||
echo '\nSetting up system files...' >&2
|
||||
sudo chown root:root $BIN_DIR/cpolis
|
||||
chmod +x $BIN_DIR/cpolis
|
||||
|
||||
echo '\nSetting up service...' >&2
|
||||
sudo mv $CPOLIS_DIR/cpolis.service $SYSTEMD_DIR
|
||||
sudo chown root:root $SYSTEMD_DIR/cpolis.service
|
||||
sudo systemctl daemon-reload
|
||||
|
Loading…
x
Reference in New Issue
Block a user