From a1f34001696c44139b668918ea52c1add0dde7ea Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 1 Jun 2020 22:14:26 +0200 Subject: fixed include system, updated some tasks --- libs/pkgmanager | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'libs/pkgmanager') diff --git a/libs/pkgmanager b/libs/pkgmanager index 7c1efd3..7a5793a 100644 --- a/libs/pkgmanager +++ b/libs/pkgmanager @@ -1,5 +1,7 @@ # vi: ft=sh +shopt -s expand_aliases +alias sudo="sudo " PKGMAN="/bin/false" [ -f "/etc/os-release" ] && source /etc/os-release @@ -22,8 +24,8 @@ case $ID in ;; esac -alias pkg_install="sudo $PKGMAN $INSTALL_CMD" -alias pkg_remove="sudo $PKGMAN $REMOVE_CMD" -alias pkg_update="sudo $PKGMAN $UPDATE_CMD" -alias pkg_upgrade="sudo $PKGMAN $UPGRADE_CMD" -alias pkg_fullupgrade="sudo $PKGMAN $FULLUPGRADE_CMD" +alias pkg_install="$PKGMAN $INSTALL_CMD" +alias pkg_remove="$PKGMAN $REMOVE_CMD" +alias pkg_update="$PKGMAN $UPDATE_CMD" +alias pkg_upgrade="$PKGMAN $UPGRADE_CMD" +alias pkg_fullupgrade="$PKGMAN $FULLUPGRADE_CMD" -- cgit v1.2.3