server/gitea: Removed dumping before update

Global backup service should be enough
wip
Felix Stupp 5 years ago
parent bef682140b
commit ad87ad2e7d
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -6,7 +6,6 @@ readonly GPG_FINGERPRINT="7C9E68152594688862D62AF62D9AE806EC1592E2";
readonly GITEA_USER='{{ gitea_system_user }}'; readonly GITEA_USER='{{ gitea_system_user }}';
readonly GITEA_DIR='{{ gitea_installation_directory }}'; readonly GITEA_DIR='{{ gitea_installation_directory }}';
readonly GITEA_BIN='{{ gitea_binary_path }}'; readonly GITEA_BIN='{{ gitea_binary_path }}';
readonly GITEA_CONF='{{ gitea_configuration_path }}';
readonly SERVICE_NAME='{{ gitea_service_name }}'; readonly SERVICE_NAME='{{ gitea_service_name }}';
set -e; set -e;
@ -65,10 +64,6 @@ fi
rm "$checksum"; rm "$checksum";
rm "$signature"; rm "$signature";
if [ -f "$GITEA_BIN" ]; then
as "$GITEA_BIN" dump -c "$GITEA_CONF";
fi
mv "$binary" "$GITEA_BIN"; mv "$binary" "$GITEA_BIN";
chmod 0754 "$GITEA_BIN"; chmod 0754 "$GITEA_BIN";
chown root:"$GITEA_USER" "$GITEA_BIN" chown root:"$GITEA_USER" "$GITEA_BIN"

Loading…
Cancel
Save