Added support for pacaur,yaourt
This commit is contained in:
parent
b1f342af37
commit
755b3047c9
|
@ -1,7 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -f "/etc/arch-release" ]; then
|
if [ -f "/etc/arch-release" ]; then
|
||||||
PackageManagerCLT="pacman"
|
#Last entry is the default package manager to use (pacman)
|
||||||
|
AurHelpers="pacaur yaourt pacman"
|
||||||
|
for AurHelper in $AurHelpers; do
|
||||||
|
if [ "`pacman -Qs $AurHelper`" ]; then
|
||||||
|
PackageManagerCLT=$AurHelper
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
PackageManagerCLTInstallOptions="-S"
|
PackageManagerCLTInstallOptions="-S"
|
||||||
PackageManagerCLTRemoveOptions="-Rs"
|
PackageManagerCLTRemoveOptions="-Rs"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue