Skip to content

Commit bf0b7a9

Browse files
committed
Use sudo
1 parent fbc012b commit bf0b7a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rc/shell/functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function package_manager_command() {
7777

7878
if [ -e '/sbin/apk' ]; then
7979
PACKAGE_MANAGER='apk'
80-
PACKAGE_MANAGER_COMMAND="su -c ${PACKAGE_MANAGER}"
80+
PACKAGE_MANAGER_COMMAND="sudo ${PACKAGE_MANAGER}"
8181
PACKAGE_MANAGER_FAMILY='apk'
8282
elif [ -e '/usr/bin/apt' ]; then
8383
PACKAGE_MANAGER='apt'

0 commit comments

Comments
 (0)