punktdateien-bashrc/settings.d/replacement-pkgmgr.sh

7 lines
234 B
Bash
Raw Normal View History

2024-06-04 20:53:38 +02:00
#!/usr/bin/env bash
if [ -n "${CONFIG_REPLACE_PKGMGR_ORIGINAL}" ] && [ -n "${CONFIG_REPLACE_PKGMGR_REPLACEMENT}" ]; then
# shellcheck disable=SC2139
alias "${CONFIG_REPLACE_PKGMGR_ORIGINAL}=${CONFIG_REPLACE_PKGMGR_REPLACEMENT}"
fi