diff options
Diffstat (limited to 'rose-mklink')
-rwxr-xr-x | rose-mklink | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/rose-mklink b/rose-mklink deleted file mode 100755 index f016aae..0000000 --- a/rose-mklink +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -test "$1" = "--help" || test -z "$1" && { - printf "%s\n" "usage: rose-mklink <alias> <url>" \ - "Create a /usr/bin link to a website." - exit -} - -test -z "$2" || { - test -f "/usr/bin/$1" && { - echo "/usr/bin/$1 already exists, remove it first" - exit 1 - } - - printf "#!/bin/sh\n\nrose %s" "$2" > /usr/bin/$1 - chmod +x /usr/bin/$1 -} |