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