Commit b89f17a7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play pgadmin4: hide from the list

parent b4016d60
#!/bin/sh #!/bin/sh
PKGNAME=pgadmin4 PKGNAME=pgadmin4-desktop
SUPPORTEDARCHES="x86_64" SUPPORTEDARCHES="x86_64"
VERSION="$2" VERSION="$2"
DESCRIPTION="pgadmin4" DESCRIPTION=''
if [ "$1" = "--remove" ] ; then if [ "$1" = "--remove" ] ; then
epm remove pgadmin4-server pgadmin4-desktop epm remove pgadmin4-server pgadmin4-desktop
...@@ -14,10 +14,16 @@ fi ...@@ -14,10 +14,16 @@ fi
[ "$VERSION" = "*" ] || VERSION="$VERSION-1" [ "$VERSION" = "*" ] || VERSION="$VERSION-1"
# TODO:
# File "/opt/pgadmin4/web/pgAdmin4.py", line 44, in <module>
# from eventlet import hubs
#ModuleNotFoundError: No module named 'eventlet'
BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/redhat/rhel-8Workstation-x86_64 BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/redhat/rhel-8Workstation-x86_64
#BASEURL=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/fedora/fedora-38Workstation-x86_64
repack='' repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack' [ "$(epm print info -s)" = "alt" ] && repack='--repack'
pkgarch='x86_64' pkgarch='x86_64'
epm $repack install $BASEURL/pgadmin4-server-$VERSION.el8.$pkgarch.rpm $BASEURL/pgadmin4-desktop-$VERSION.el8.$pkgarch.rpm epm $repack install $BASEURL/pgadmin4-server-$VERSION.*.$pkgarch.rpm $BASEURL/pgadmin4-desktop-$VERSION.*.$pkgarch.rpm
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# It will be run with two args: buildroot spec # It will be run with two args: buildroot spec
BUILDROOT="$1" BUILDROOT="$1"
SPEC="$2" SPEC="$2"
PRODUCTDIR=/opt/pgadmin4
UNIREQUIRES="python3 libkrb5.so.3 libpq.so.5" UNIREQUIRES="python3 libkrb5.so.3 libpq.so.5"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment