diff options
author | davidovski <david@davidovski.xyz> | 2022-02-20 17:56:55 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-20 17:56:55 +0000 |
commit | 0e307ec9997b94a2a782746d2a28ab15a9ea2a87 (patch) | |
tree | 857ed0019501ddd03359cef99ca26016104aec88 /src/install.sh | |
parent | ddc160469a6b870f225a78ce579029cf1ef90e03 (diff) |
added default target for updates
Diffstat (limited to 'src/install.sh')
-rw-r--r-- | src/install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/install.sh b/src/install.sh index c73a202..da8b7a2 100644 --- a/src/install.sh +++ b/src/install.sh @@ -67,6 +67,10 @@ run_postinstall () { install () { local packages=$@ + if [ "$#" = "0" ]; then + packages=$(ls ${INSTALLED_DIR}) + fi + local missing="" for package in $packages; do [ ! -f $package ] && missing="$missing $(basename $package)" |