HEX
Server: Apache
System: Linux hz.vslconceptsdomains.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: dkfounda (3233)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //var/lib/dpkg/info/cpanel-phpmyadmin.postinst
#!/bin/sh

set -e

runPosInst() {
## <asset scriplets/post>


set -e

USER=cpanelphpmyadmin
GROUP=$USER
GHOST="/usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php"

if [ -e $GHOST ]; then
    chmod 644 $GHOST
    chown $USER:$GROUP $GHOST
fi

if [ "x$CPANEL_BASE_INSTALL" = "x" ]; then
    /usr/local/cpanel/bin/update_phpmyadmin_config
fi

## </asset>

}

case "$1" in
  configure)
    runPosInst;
  ;;
esac

exit 0