1 2 3 4 5 6 7 8 9
# replace $CARCH == pentium4 to i686 if [ "${CARCH}" = "pentium4" ]; then eval "$( declare -f package_wireguard-lts | \ sed ' s/$CARCH/i686/g ' )" fi