aboutsummaryrefslogtreecommitdiff
path: root/rosenrot-mklink
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-23 21:51:55 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-23 21:51:55 -0300
commit07cae73c7116aee9686432783394eaba2c854ab9 (patch)
treef41dcb6e3e3d986e10094765dfbe68f2270294cd /rosenrot-mklink
parented76b7e9e72cc2c3b5eeef0707638ff39a7cd31a (diff)
remove extra files
Diffstat (limited to 'rosenrot-mklink')
-rwxr-xr-xrosenrot-mklink17
1 files changed, 0 insertions, 17 deletions
diff --git a/rosenrot-mklink b/rosenrot-mklink
deleted file mode 100755
index d8f5be6..0000000
--- a/rosenrot-mklink
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-test "$1" = "--help" || test -z "$1" && {
- printf "%s\n" "usage: rosenrot-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\nrosenrot %s" "$2" > /usr/bin/$1
- chmod +x /usr/bin/$1
-}