We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 972868c commit 365485fCopy full SHA for 365485f
1 file changed
install.sh
@@ -53,7 +53,11 @@ sudo mv "$TMP_BIN" "$INSTALL_DIR/$SERVICE_NAME"
53
sudo chmod +x "$INSTALL_DIR/$SERVICE_NAME"
54
55
# Ensure service file exists, download if missing
56
+
57
SERVICE_SRC="$WORK_DIR/sample.service"
58
+if [ ! -d "$WORK_DIR" ]; then
59
+ mkdir -p "$WORK_DIR"
60
+fi
61
if [ ! -f "$SERVICE_SRC" ]; then
62
echo "sample.service not found locally. Downloading from GitHub..."
63
RAW_URL="https://raw.githubusercontent.com/${REPO}/${TAG}/sample.service"
0 commit comments