Skip to content

Commit 4edea65

Browse files
authored
Make libffi version more flexible (inventree#7734)
* Make libffi version more flexible Can not install on debian 12 Fixes inventree#6036 * target v11 packaging on v12 install we are only targeting one version per debian / ubuntu channel. This should not present a problem
1 parent b10a20d commit 4edea65

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pkgr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies:
3535
- gettext
3636
- nginx
3737
- jq
38-
- libffi7
38+
- "libffi7 | libffi8"
3939
targets:
4040
ubuntu-20.04: true
4141
debian-11: true

contrib/install.sh

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ root_command() {
7575
;;
7676
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
7777
if [[ $VER == "12" ]]; then
78+
DIST_VER="11"
7879
SUPPORTED=true
7980
elif [[ $VER == "11" ]]; then
8081
SUPPORTED=true

0 commit comments

Comments
 (0)