Skip to content

Commit

Permalink
api: install_packages don't add architecture info for all archi…
Browse files Browse the repository at this point in the history
…tecture packages

fixes 181c425 causing apt unmet dependency errors
  • Loading branch information
theofficialgman committed Mar 28, 2024
1 parent 372acf6 commit 247603b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ install_packages() { #Make some packages dependencies of the $app app. Package-n
unset dpkg_deb_output

#foreign arch: add :armhf or :arm64 to the packagename if this local package is of a foreign architecture
if [ "$packagearch" != "$(dpkg --print-architecture)" ];then
if [ "$packagearch" != "$(dpkg --print-architecture)" ] && [ "$packagearch" != "all" ];then
packagename+=":$packagearch"
fi

Expand Down Expand Up @@ -560,7 +560,7 @@ install_packages() { #Make some packages dependencies of the $app app. Package-n
unset dpkg_deb_output

#foreign arch: add :armhf or :arm64 to the packagename if this local package is of a foreign architecture
if [ "$packagearch" != "$(dpkg --print-architecture)" ];then
if [ "$packagearch" != "$(dpkg --print-architecture)" ] && [ "$packagearch" != "all" ];then
packagename+=":$packagearch"
fi

Expand Down

0 comments on commit 247603b

Please sign in to comment.