mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-02 00:56:39 +02:00
- Updated unipkg script to autoinstall packages on apt-get
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
if pkgmgr="$( which apt-get )" 2> /dev/null; then
|
if pkgmgr="$( which apt-get )" 2> /dev/null; then
|
||||||
echo "Debian"
|
echo "Debian"
|
||||||
$pkgmgr update
|
$pkgmgr update
|
||||||
$pkgmgr install "$1"
|
$pkgmgr --yes --force-yes install "$1"
|
||||||
elif pkgmgr="$( which dnf )" 2> /dev/null; then
|
elif pkgmgr="$( which dnf )" 2> /dev/null; then
|
||||||
echo "dnf"
|
echo "dnf"
|
||||||
$pkgmgr check-update; $pkgmgr install -y "$1"
|
$pkgmgr check-update; $pkgmgr install -y "$1"
|
||||||
|
Reference in New Issue
Block a user