aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-pkg')
-rwxr-xr-xbin/ak-pkg9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/ak-pkg b/bin/ak-pkg
index 971aab6..d01921a 100755
--- a/bin/ak-pkg
+++ b/bin/ak-pkg
@@ -26,6 +26,7 @@
## -h, --help Prints this help message
## --make-releases-from-local Makes releases from all local installation's module
## --make-release-from-local Makes release from a local installation's module
+## --make-release-from-directory Makes release from a local directory
## --install-from-zblock <zblock> Installs from a zblock
## --install-from-akfs <maphash> Installs from an AKFS map
## --uninstall Uninstalls a module selected from a menu
@@ -35,9 +36,10 @@ PROGRAM=$(basename $0)
descriptionString="Package Manager"
# At least these
-source $AK_LIBDIR/_ak_log
-source $AK_LIBDIR/_ak_pkg
-source $AK_LIBDIR/_ak_script
+source $AK_LIBDIR/_ak_lib_load
+_ak_lib_load _ak_log
+_ak_lib_load _ak_script
+_ak_lib_load _ak_pkg
# Flags to run
@@ -47,6 +49,7 @@ then
-h | --help) _ak_usage; exit;;
--make-releases-from-local) shift; _ak_pkg_all_modules_make_releases_from_local_installation; exit;;
--make-release-from-local) _ak_pkg_all_modules_make_release_from_local_installation $1; exit;;
+ --make-release-from-directory) shift; _ak_pkg_all_modules_make_release_from_local_directory $1; exit;;
--install-from-zblock) shift; _ak_pkg_install_from_zblock $1; exit;;
--install-from-akfs) shift; _ak_pkg_install_from_akfsmap $1; exit;;
--uninstall) _ak_pkg_uninstall; exit;;