Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain committed Sep 14, 2024
1 parent 053ca25 commit 23d678c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/_common.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/bash

source /usr/share/yunohost/helpers

#=================================================
# COMMON VARIABLES AND CUSTOM HELPERS
#=================================================

# App version
## yq is not a dependencie of yunohost package so tomlq command is not available
## (see https://github.com/YunoHost/yunohost/blob/dev/debian/control)
app_version=$(ynh_read_manifest "version" | cut -d '~' -f 1 ) #2024.2.5
app_version=$(cat ../manifest.toml 2>/dev/null \
| grep '^version = ' | cut -d '=' -f 2 \
| cut -d '~' -f 1 | tr -d ' "') #2024.2.5

# Python required version
## jq is a dependencie of yunohost package
Expand Down

0 comments on commit 23d678c

Please sign in to comment.