pgadmin4.sh 738 Bytes
Newer Older
1 2
#!/bin/sh

3
PKGNAME=pgadmin4-desktop
4 5
SUPPORTEDARCHES="x86_64"
VERSION="$2"
6
DESCRIPTION=''
7 8 9 10 11 12 13 14 15 16

if [ "$1" = "--remove" ] ; then
    epm remove pgadmin4-server pgadmin4-desktop
    exit
fi

. $(dirname $0)/common.sh

[ "$VERSION" = "*" ] || VERSION="$VERSION-1"

17 18 19 20 21
# TODO:
#   File "/opt/pgadmin4/web/pgAdmin4.py", line 44, in <module>
#    from eventlet import hubs
#ModuleNotFoundError: No module named 'eventlet'

22
BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/redhat/rhel-8Workstation-x86_64
23
#BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/fedora/fedora-38Workstation-x86_64
24 25

pkgarch='x86_64'
26 27 28
PKGURL="$BASEURL/pgadmin4-server-$VERSION.*.$pkgarch.rpm $BASEURL/pgadmin4-desktop-$VERSION.*.$pkgarch.rpm"

install_pkgurl