File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-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
+ ;;
9
+ debian)
10
+ get_github_releases "johnfactotum/foliate"
11
+ if [ "${ACTION}" != prettylist ]; then
12
+ URL="$(grep -m 1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d '"' -f 4)"
13
+ VERSION_PUBLISHED="$(cut -d '_' -f 2 <<< "${URL}")"
14
+ fi
15
+ ;;
16
+ esac
17
+
18
+
9
19
PRETTY_NAME="Foliate"
10
20
WEBSITE="https://johnfactotum.github.io/foliate/"
11
21
SUMMARY="A simple and modern eBook viewer for Linux desktops."
You can’t perform that action at this time.
0 commit comments