Compare commits
No commits in common. "2200e5bac67d957160ee89247f74e98c5800a310" and "cb46751b920cf41d0e026f5ad736c37d234f491e" have entirely different histories.
2200e5bac6
...
cb46751b92
1 changed files with 1 additions and 8 deletions
7
aps
7
aps
|
@ -163,12 +163,6 @@ help(){
|
||||||
echo "install - Installs from local package information file and build file."
|
echo "install - Installs from local package information file and build file."
|
||||||
echo "upgrade - Upgrades from package repository."
|
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() {
|
main() {
|
||||||
if [ -f "${lock}" ]; then
|
if [ -f "${lock}" ]; then
|
||||||
|
@ -190,7 +184,6 @@ main() {
|
||||||
upgrade) upgrade "official" ;;
|
upgrade) upgrade "official" ;;
|
||||||
help) help ;;
|
help) help ;;
|
||||||
version) version ;;
|
version) version ;;
|
||||||
list) list ;;
|
|
||||||
*) die "[E] Invalid option ${1}, exiting..." ;;
|
*) die "[E] Invalid option ${1}, exiting..." ;;
|
||||||
esac
|
esac
|
||||||
rm "${lock}"
|
rm "${lock}"
|
||||||
|
|
Loading…
Reference in a new issue