scripts: expose the package name to the scripts (lua and shell)
modified NEWS
@@ -1,3 +1,6 @@
| + | |
| + | |
| + | |
|
|
|
|
|
modified docs/pkg-lua-script.5
@@ -11,7 +11,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -80,6 +80,8 @@ has been disabled.
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified docs/pkg-script.5
@@ -11,7 +11,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -48,6 +48,8 @@ new post-install
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/lua_scripts.c
@@ -103,6 +103,8 @@ pkg_lua_script_run(struct pkg * const pkg, pkg_lua_script type, bool upgrade)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/scripts.c
@@ -110,6 +110,7 @@ pkg_script_run(struct pkg * const pkg, pkg_script type, bool upgrade)
|
|
|
|
|
|
| + | |
|
|
|
|
|