Compare commits

..

No commits in common. "64abacbd58dd87cac1fec22fdc2828e63c6f5182" and "7dcbdc08eee84b33dfba7d7982f3627dcba8e4db" have entirely different histories.

2 changed files with 5 additions and 6 deletions

View File

@ -4,6 +4,8 @@ Useful utility scripts.
`install.sh` -- install all files in `./src/` to install directory (`/usr/local/bin/`).
`install.sh -o` -- overwrite pre-existing files in destination directory.
`install.sh -u` -- uninstall all files in `./src/` from install directory.
### Dependencies
@ -14,14 +16,10 @@ Useful utility scripts.
| Script | Comment |
|---|---|
|date-show|Show a time and date notification.|
|date-show|Show a time and date window.|
|newbash ["command"]|Create executable `bash` script. Optionally add `command`.|
|newsh ["command"]|Create executable `sh` script. Optionally add `command`.|
|pam-say <text>|Tells Pamela to say something.|
|qutesesh|Open a Qutebrowser session.|
|window-select|Select a window |
|window-select|Use Dmenu to select from all windows.|
## TODO
* Rename `date-show` to something more general.
* Use installer to create symbolic links instead of copying files.

View File

@ -38,6 +38,7 @@ for _file in ./src/* ; do
echo "file present - skipping: $_file"
fi
elif [ $_uninstall -eq 1 ] ; then
# WARNING - need to ensure $_filename is not empty (/usr/local/bin will be deleted)
if [ -n "$_destination" ] ; then
echo "uninstalling: $_destination"
sudo rm "$_install_dir$_destination"