- Updated unipkg script to autoinstall packages on apt-get

This commit is contained in:
Ben Reaves
2020-05-02 18:27:56 -05:00
parent 78efb69287
commit 954049a251

View File

@@ -3,7 +3,7 @@
if pkgmgr="$( which apt-get )" 2> /dev/null; then
echo "Debian"
$pkgmgr update
$pkgmgr install "$1"
$pkgmgr --yes --force-yes install "$1"
elif pkgmgr="$( which dnf )" 2> /dev/null; then
echo "dnf"
$pkgmgr check-update; $pkgmgr install -y "$1"