bashitup 1.0.11 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/bashitup +12 -4
- package/package.json +15 -4
package/bin/bashitup
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
#!/bin/bash
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
2
|
# bin/bashitup
|
|
3
3
|
|
|
4
|
-
#
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
# Resolve the real path of the script, following symlinks
|
|
5
|
+
SOURCE="${BASH_SOURCE[0]}"
|
|
6
|
+
while [ -h "$SOURCE" ]; do
|
|
7
|
+
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
|
|
8
|
+
SOURCE="$(readlink "$SOURCE")"
|
|
9
|
+
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
|
|
10
|
+
done
|
|
11
|
+
DIR="$( cd -P "$( dirname "$SOURCE" )/.." >/dev/null 2>&1 && pwd )"
|
|
12
|
+
|
|
13
|
+
# Run the main script
|
|
14
|
+
exec bash "$DIR/bashitup.sh" "$@"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bashitup",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Interactive bash menu builder",
|
|
5
5
|
"bin": {
|
|
6
6
|
"bashitup": "bin/bashitup"
|
|
@@ -9,11 +9,22 @@
|
|
|
9
9
|
"bashitup.sh",
|
|
10
10
|
"bin/bashitup",
|
|
11
11
|
"README.md",
|
|
12
|
-
"LICENSE
|
|
12
|
+
"LICENSE"
|
|
13
13
|
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/sudo-self/bashitup.sh.git"
|
|
17
|
+
},
|
|
14
18
|
"keywords": [
|
|
15
19
|
"bash",
|
|
16
|
-
"cli"
|
|
20
|
+
"cli",
|
|
21
|
+
"menu",
|
|
22
|
+
"generator"
|
|
17
23
|
],
|
|
18
|
-
"
|
|
24
|
+
"author": "sudo-self",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/sudo-self/bashitup.sh/issues"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://github.com/sudo-self/bashitup.sh#readme"
|
|
19
30
|
}
|