Skip to content

Commit db57bc2

Browse files
committed
Imprved Ubuntu support
1 parent 21e9d7f commit db57bc2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

scripts/install-packages.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,10 @@ else
201201
if [ "${OS}" = 'Linux' ]; then
202202
install_native_package 'netctl'
203203
install_native_package 'dhcpcd'
204-
install_native_package 'libmd' # Dependency of dhcpcd
204+
205+
if [ "${DISTRO_FAMILY}" = 'Arch' ]; then
206+
install_native_package 'libmd' # Dependency of dhcpcd
207+
fi
205208
fi
206209
fi
207210

@@ -221,11 +224,11 @@ fi
221224
################
222225
### Archives ###
223226
################
227+
install_native_package 'unp' # A script for unpacking a wide variety of archive formats
224228
install_native_package 'unzip'
225229
install_native_package 'zip'
226230

227231
if [ "${DISTRO_FAMILY}" = 'Arch' ]; then
228-
install_native_package 'unp' # A script for unpacking a wide variety of archive formats
229232
install_native_package 'p7zip'
230233
install_native_package 'lrzip'
231234
fi

scripts/update-packages.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ if ! is_distro_immutable; then
1717
announce_packages_update 'system'
1818
if [ "${DISTRO_FAMILY}" = 'Alpine' ] \
1919
|| [ "${DISTRO_FAMILY}" = 'Android' ] \
20-
|| [ "${DISTRO_FAMILY}" = 'Debian' ]; then
20+
|| [ "${DISTRO_FAMILY}" = 'Debian' ] \
21+
|| [ "${DISTRO_FAMILY}" = 'Ubuntu' ]; then
2122
call_package_manager upgrade
2223
elif [ "${DISTRO_FAMILY}" = 'Arch' ]; then
2324
call_package_manager -Su

0 commit comments

Comments
 (0)