Skip to content

Commit 2bacfcd

Browse files
committed
Skip installing 2 packages on iPhone
1 parent 45772a8 commit 2bacfcd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/install-packages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ if ${HAS_GUI}; then
205205
fi
206206
else
207207
if [ "${OS}" = 'Linux' ]; then
208-
install_native_package 'netctl'
208+
[ "${DEVICE_MODEL}" != 'iPhone' ] && install_native_package 'netctl'
209209
install_native_package 'dhcpcd'
210210

211211
if [ "${DISTRO_FAMILY}" = 'Arch' ]; then
@@ -230,7 +230,7 @@ fi
230230
################
231231
### Archives ###
232232
################
233-
install_native_package 'unp' # A script for unpacking a wide variety of archive formats
233+
[ "${DEVICE_MODEL}" != 'iPhone' ] && install_native_package 'unp' # A script for unpacking a wide variety of archive formats
234234
install_native_package 'unzip'
235235
install_native_package 'zip'
236236

0 commit comments

Comments
 (0)