Compare commits
2 commits
cb46751b92
...
2200e5bac6
Author | SHA1 | Date | |
---|---|---|---|
|
2200e5bac6 | ||
|
c2d0c0a7a4 |
1 changed files with 8 additions and 1 deletions
9
aps
9
aps
|
@ -162,7 +162,13 @@ help(){
|
|||
echo "sync - Synchronizes from package repository."
|
||||
echo "install - Installs from local package information file and build file."
|
||||
echo "upgrade - Upgrades from package repository."
|
||||
echo "remove - Removes a package from /var/aps/installed and it's install files (payloadfiles)."
|
||||
echo "remove - Removes a package from /var/aps/installed and it's install files (payloadfiles)."
|
||||
echo "list - Lists currently installed packages."
|
||||
echo "help - Display this message."
|
||||
echo "version - Display the version."
|
||||
}
|
||||
list(){
|
||||
ls ${installed_pkg_database} | sed 's/^README.md//g'
|
||||
}
|
||||
main() {
|
||||
if [ -f "${lock}" ]; then
|
||||
|
@ -184,6 +190,7 @@ main() {
|
|||
upgrade) upgrade "official" ;;
|
||||
help) help ;;
|
||||
version) version ;;
|
||||
list) list ;;
|
||||
*) die "[E] Invalid option ${1}, exiting..." ;;
|
||||
esac
|
||||
rm "${lock}"
|
||||
|
|
Loading…
Reference in a new issue