1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

Fix source url for auto-updater

This commit is contained in:
tituspijean 2022-01-20 18:30:15 +01:00
parent 2b83cb1feb
commit 732c2834ef
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 4 additions and 3 deletions

View file

@ -60,7 +60,8 @@ fi
# Proceed only if the retrieved version is greater than the current one
if dpkg --compare-versions "$current_project_version" "lt" "$project_version" ; then
asset_url="https://github.com/flarum/flarum/archive/${project_version}.zip"
# Beware, the "v" is back here
asset_url="https://github.com/flarum/flarum/archive/v${project_version}.zip"
src="app"
extension="zip"

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/flarum/flarum/archive/1.2.0.zip
SOURCE_SUM=d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed
SOURCE_URL=https://github.com/flarum/flarum/archive/v1.2.0.zip
SOURCE_SUM=e3261ebb9fde29742c58ba05b2bc5af6f65b03ae4a9b638cf97f72c60a124935
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true