1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
Asif Bacchus
ab048e2069 update directory organization
Renamed backup script, added files to update script and regenerated
checksums
2020-03-13 03:32:09 -06:00
Asif Bacchus
3b87ce0661 fix missing printf 2020-03-13 03:31:08 -06:00
5 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,6 @@
3818e56bc2eaa33c57a10b4e7bfdee4674df0d9b41ce665d5ca3853ebdd9212b ab-openldap-backup.params.template
14b11370f980bd10b3cd96ddf3acab73c723f7594127e38d4b90ad09660b5e0a ab-openldap-backup.sh
5257cbc175e1f35061e419f54c953875597996d887b3c882990319ecc2371bfd ab-openldap.params.template
79d96713f2e0a1e9d8c4192077986fc8e6efe805441595d014931ec56163c3c9 ab-openldap.sh
665567feb3a5ffbd566baa5ce04773f2aebe0f3470f2a820fde23d852f6263f0 update.sh
3818e56bc2eaa33c57a10b4e7bfdee4674df0d9b41ce665d5ca3853ebdd9212b backup.params.template
14b11370f980bd10b3cd96ddf3acab73c723f7594127e38d4b90ad09660b5e0a backup.sh
21d4ee71a745fd21f3d7dd187c9f841d65e89fe646f6abf0ffd06ef118c4bbe8 checksums.sha256
5f228bddbe83bbaa495ad4095a50778c865d3288179148829820b55d00511ca5 update.sh

View File

@ -38,7 +38,7 @@ checksumFilename='checksums.sha256'
# files to update
localScriptName='update.sh'
repoScriptName='update.sh'
updateFiles=""
updateFiles="ab-openldap.sh ab-openldap.params.template backup.sh backup.params.template"
### update container

View File

@ -31,7 +31,7 @@ updateSuccess=0
# reference constants
containerName=''
containerUpdatePath='docker.asifbacchus.app/...'
containerUpdatePath='docker.asifbacchus.app/...:latest'
server="https://git.asifbacchus.app/ab-docker/scripts/raw/branch/master/$containerName/"
checksumFilename='checksums.sha256'
@ -49,7 +49,7 @@ if ! docker pull "$containerUpdatePath"; then
printf "There was an error updating the container. Try again later.\n\n"
exit 1
else
"Container updated!\n"
printf "Container updated!\n"
fi