Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:iDesmI:OSU
osu-lazer
updater.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File updater.sh of Package osu-lazer
#!/usr/bin/env bash cd ~/osc/home:iDesmI:OSU/osu-lazer/ osc update LATEST_OSULAZER_VERSION=$(curl -s https://api.github.com/repos/ppy/osu/releases|jq -cr .[0].tag_name 2>/dev/null) LAST_CHECKED_VERSION=$(cat LATEST_OSULAZER_VERSION) [ -z "${LATEST_OSULAZER_VERSION}" ] && exit [ "${LATEST_OSULAZER_VERSION}" = "${LAST_CHECKED_VERSION}" ] && exit || echo "New version found" sed -i -E "s/download\/.+?\/osu\.AppImage/download\/${LATEST_OSULAZER_VERSION}\/osu.AppImage/" _service sed -i -E "s/^%define program_version .+$/%define program_version ${LATEST_OSULAZER_VERSION}/" osu-lazer.spec osc vc -m "Update to ${LATEST_OSULAZER_VERSION}" && \ osc ci -m "Update to ${LATEST_OSULAZER_VERSION}" && \ echo -n ${LATEST_OSULAZER_VERSION} > LATEST_OSULAZER_VERSION
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor