intial release
This commit is contained in:
parent
c2e0d0b71e
commit
db9f28e53d
3 changed files with 392 additions and 0 deletions
18
install.sh
Normal file
18
install.sh
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SRC="${1:-./pawdance}"
|
||||
DEST="/usr/local/bin/pawdance"
|
||||
|
||||
if [[ ! -f "$SRC" ]]; then
|
||||
echo "Error: '$SRC' not found." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Installing pawdance to $DEST …"ss
|
||||
install -Dm755 "$SRC" "$DEST" # -D: create dirs as needed, -m755: chmod +x
|
||||
echo "Done. Type 'pawdance --help' to verify."
|
||||
echo syncing file system
|
||||
sudo sync
|
||||
echo done.
|
||||
Loading…
Add table
Add a link
Reference in a new issue