Fix dependencies

main
Micke Nordin 3 years ago
parent e63f95ee4f
commit 9e9520a3ef

@ -2,7 +2,7 @@
if [[ "${1}" == "-u" ]]; then
echo "Uninstalling passui"
sudo rm /usr/local/bin/passui /usr/share/applications/{org.smolnet.,}passui.desktop
echo "If you wish you can now manually remove the dependencies: wxpython git gnupg pass"
echo "If you wish you can now manually remove the dependencies: wxpython git gnupg pass pinentry-gtk wl-clipboard"
exit 0
elif [[ "${1}" == "-h" ]]; then
echo "Usage: $0 [-u|-h]
@ -12,12 +12,12 @@ elif [[ "${1}" == "-h" ]]; then
fi
python_version=3.9
if [[ -f /usr/bin/apk ]] || [[ -f /sbin/apk ]]; then # PostmarketOS/Alpine
sudo apk add py3-wxpython py3-gnupg git gnupg pass
sudo apk add py3-wxpython py3-gnupg git gnupg pass pinentry-gtk wl-clipboard
python_version=3.10
elif [[ -f /usr/bin/apt ]]; then # Mobian/Debian/Ubuntu
sudo apt install python3-wxgtk4.0 python3-gnupg git gnupg pass
sudo apt install python3-wxgtk4.0 python3-gnupg git gnupg pass pinentry-gtk2 wl-clipboard
elif [[ -f /usr/bin/pacman ]]; then # Arch/Manjaro
sudo pacman -S python-wxpython python-gnupg git gnupg pass
sudo pacman -S python-wxpython python-gnupg git gnupg pass pinentry wl-clipboard
else
echo " This distribution is not supported by this installer.
manually install: wxpython python3-gnupg git gnupg pass

Loading…
Cancel
Save