File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
DEFVER=2
2
- CODENAMES_SUPPORTED="trixie sid noble oracular"
2
+ CODENAMES_SUPPORTED="trixie sid focal jammy noble oracular"
3
3
ARCHS_SUPPORTED="amd64 arm64 armhf"
4
- get_github_releases "johnfactotum/foliate"
5
- if [ "${ACTION}" != prettylist ]; then
6
- URL="$(grep -m 1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d '"' -f 4)"
7
- VERSION_PUBLISHED="$(cut -d '_' -f 2 <<< "${URL}")"
8
- fi
4
+
5
+ case ${UPSTREAM_ID} in
6
+ ubuntu)
7
+ PPA="ppa:apandada1/foliate"
8
+ debian)
9
+ get_github_releases "johnfactotum/foliate"
10
+ if [ "${ACTION}" != prettylist ]; then
11
+ URL="$(grep -m 1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d '"' -f 4)"
12
+ VERSION_PUBLISHED="$(cut -d '_' -f 2 <<< "${URL}")"
13
+ fi
14
+ ;;
15
+ esac
16
+
17
+
9
18
PRETTY_NAME="Foliate"
10
19
WEBSITE="https://johnfactotum.github.io/foliate/"
11
20
SUMMARY="A simple and modern eBook viewer for Linux desktops."
You can’t perform that action at this time.
0 commit comments