1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jackett_ynh.git synced 2024-09-03 19:26:28 +02:00

added architecture check

This commit is contained in:
Navan Chauhan 2021-05-21 18:44:47 +05:30
parent e7d6c370d7
commit 32bc4c0b17

View file

@ -4,8 +4,10 @@
# COMMON VARIABLES
#=================================================
# dependencies used by the app
pkg_dependencies="deb1 deb2 php$YNH_DEFAULT_PHP_VERSION-deb1 php$YNH_DEFAULT_PHP_VERSION-deb2"
architecture=$(dpkg --print-architecture)
if [ $architecture = "amd64" ]; then
architecture="x64"
fi
#=================================================
# PERSONAL HELPERS