diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-06-01 22:14:26 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-06-01 22:14:26 +0200 |
commit | a1f34001696c44139b668918ea52c1add0dde7ea (patch) | |
tree | af4ea86dfe4ac5a696e3c9eb43935ab9ebb063d4 /libs | |
parent | f33ea96125c63e112cbef97de3b8376a38681e40 (diff) | |
download | ltask-a1f34001696c44139b668918ea52c1add0dde7ea.tar.gz |
fixed include system, updated some tasks
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pkgmanager | 12 |
1 files changed, 7 insertions, 5 deletions
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" |