Update install.sh

This commit is contained in:
Leo Codes
2025-07-19 10:34:36 -05:00
committed by GitHub
parent ee3a77ccb4
commit 0bac0962c2
+3 -1
View File
@@ -8,7 +8,9 @@ SERVICE_NAME="sentryx-server"
SERVICE_FILE="$HOME/.config/systemd/user/$SERVICE_NAME.service" SERVICE_FILE="$HOME/.config/systemd/user/$SERVICE_NAME.service"
CARGO_BIN="$(which cargo)" CARGO_BIN="$(which cargo)"
mv $INSTALL_DIR $INSTALL_DIR+"-backup" if [ -d $INSTALL_DIR ]; then
mv $INSTALL_DIR $INSTALL_DIR"-backup"
fi
# Step 1: Clone the repo # Step 1: Clone the repo
if [ -d "$INSTALL_DIR" ]; then if [ -d "$INSTALL_DIR" ]; then