diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-02 15:42:18 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-02 15:43:20 +0800 |
| commit | 0dc8ed12776c132cdd9d6f2c3a4a2ddfc82b751c (patch) | |
| tree | 67145300e881b7649d77cccac770b999ee03e46f /install/install.sh | |
| parent | 2de954b15f37c49cff12c8dc64421f567ff0a538 (diff) | |
fix(install): copy only run files instead of entire repo
Diffstat (limited to 'install/install.sh')
| -rw-r--r-- | install/install.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/install/install.sh b/install/install.sh deleted file mode 100644 index b7e23f4..0000000 --- a/install/install.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -set -e - -TEMP_DIR="./run_script_temp" -REPO_DIR="$TEMP_DIR/run" - -echo "Creating temporary directory..." -mkdir -p "$TEMP_DIR" - -echo "Cloning https://github.com/catilgrass/run ..." -git clone https://github.com/catilgrass/run "$REPO_DIR" - -echo "Removing unwanted files..." -rm -f "$REPO_DIR/README.md" "$REPO_DIR/LICENSE" -rm -f "$REPO_DIR/.nojekyll" "$REPO_DIR/index.html" -rm -rf "$REPO_DIR/install" - -echo "Removing git data..." -rm -rf "$REPO_DIR/.git" - -echo "Installing files..." -cp -a "$REPO_DIR/." . -chmod +x run.sh - -echo "Cleaning up temporary directory..." -rm -rf "$TEMP_DIR" - -echo "Done!" |
