Merge branch 'master' of ssh://gitea.tlcnet.info:227/tracey/shell-scripts

Resolved merge conflict
This commit is contained in:
Tracey Clark 2019-04-19 17:02:01 -05:00
commit a896af549f

View file

@ -92,11 +92,18 @@ if ( $tag gt $gitea_current_version || $alphanum_ver == 1 ) {
=devel =devel
# Because doing this in perl would be a memory hog # Because doing this in perl would be a memory hog
`xz -d --keep /home/gitea/bin/$download_filename` `xz -d --keep /home/gitea/bin/$download_filename`
# Stop gitea service
# rename unpacked binary to gitea or symlink?? # rename unpacked binary to gitea or symlink??
# chown gitea.gitea binary
# chmod 754 gitea
# Check if we can start gitea # Check if we can start gitea
# If can start then end # If can start then
# If no start restore the backup # Remove old binary (backup done at beginning)
# Notifications # Rename new binary to gitea
# Remove .xz file
# Notify success notify(1)
# If no start notify and end & notify fail notify(0)
=cut =cut
} }