[Web] Start work on ACL; [Helper] Nextcloud helper script

This commit is contained in:
André
2017-10-26 10:21:12 +02:00
parent 988978b351
commit db5a3ae47f
6 changed files with 53 additions and 10 deletions

View File

@@ -2,6 +2,10 @@
[[ -z ${1} ]] && { echo "No parameters given"; exit 1; }
for bin in curl dirmngr; do
if [[ -z $(which ${bin}) ]]; then echo "Cannot find ${bin}, exiting..."; exit 1; fi
done
while [ "$1" != '' ]; do
case "${1}" in
-p|--purge) NC_PURGE=y && shift;;