mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Install ARM 64- or-32 bit isoquery from Debian pkg (Armbian)
This commit is contained in:
parent
484d40f455
commit
2f205fe9e4
@ -243,7 +243,22 @@ function _install_dependencies() {
|
|||||||
if [ ${OS,,} = "armbian" ]; then
|
if [ ${OS,,} = "armbian" ]; then
|
||||||
ifconfig_package="net-tools"
|
ifconfig_package="net-tools"
|
||||||
echo "${ifconfig_package} will be installed from the main deb sources list"
|
echo "${ifconfig_package} will be installed from the main deb sources list"
|
||||||
|
|
||||||
|
# Manually install isoquery
|
||||||
|
_install_log "Installing isoquery from the Debian package repository"
|
||||||
|
isoquery_deb="https://ftp.debian.org/debian/pool/main/i/isoquery"
|
||||||
|
if [ "$LONG_BIT" = "64" ]; then
|
||||||
|
isoquery_pkg="isoquery_3.3.4-1+b1_arm64.deb"
|
||||||
|
else
|
||||||
|
isoquery_pkg="isoquery_3.3.4-1_armhf.deb"
|
||||||
fi
|
fi
|
||||||
|
echo "isoquery ARM ${LONG_BIT}-bit package selected"
|
||||||
|
wget $isoquery_deb/$isoquery_pkg -q --show-progress --progress=bar:force -P /tmp || _install_status 1 "Failed to download isoquery"
|
||||||
|
sudo dpkg -x /tmp/$isoquery_pkg /tmp/isoquery/ || _install_status 1 "Failed to extract isoquery"
|
||||||
|
sudo cp /tmp/isoquery/usr/bin/isoquery /usr/local/bin/ || _install_status 1 "Failed to copy isoquery binary"
|
||||||
|
sudo chmod +x /usr/local/bin/isoquery || _install_status 1 "Failed to set executable permissions on isoquery"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$insiders" == 1 ]; then
|
if [ "$insiders" == 1 ]; then
|
||||||
network_tools="curl dnsutils nmap"
|
network_tools="curl dnsutils nmap"
|
||||||
echo "${network_tools} will be installed from the main deb sources list"
|
echo "${network_tools} will be installed from the main deb sources list"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user