diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-02 15:52:15 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-02 15:52:15 +0800 |
| commit | 59ef82553f35ee7da0e0048971419801318fe4e2 (patch) | |
| tree | 6a7d314e577121fbdda17b2e673a4a18e81f1990 /install.sh | |
| parent | 0dc8ed12776c132cdd9d6f2c3a4a2ddfc82b751c (diff) | |
feat: prompt to remove example scripts after install
Diffstat (limited to 'install.sh')
| -rw-r--r-- | install.sh | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -20,3 +20,17 @@ echo "Cleaning up..." rm -rf "$TEMP_DIR" echo "Done!" + +echo "" +echo "Remove all example scripts? [Y/n]" +read -r response +case "$response" in + [nN]|[nN][oO]) + echo "Skipped." + ;; + *) + echo "Removing example scripts..." + rm -f .run/src/bin/* + echo "Done!" + ;; +esac |
