0x1949 Team - FAZEMRX - MANAGER
Edit File: ea-cpanel-tools.postinst
#!/bin/bash # postinst script for ea-cpanel-tools # # see: dh_installdeb(1) set -e # Begin vars.sh #!/bin/bash # DO NOT EDIT # This file is regenerated each run. # If you want to add or change a variable, edit debify/settings.json and the vars hashref source /etc/os-release export OBS_REPO="x${NAME}_${VERSION_ID}" if ls debian/*.install &> /dev/null; then perl -pi -e 's/\${env:OBS_REPO}/$ENV{OBS_REPO}/' debian/*.install fi export DEB_INSTALL_ROOT="/usr/src/packages/BUILD/debian/tmp" export DEB_SOURCE_ROOT="/usr/src/packages/BUILD/debian/SOURCES_FROM_SPEC" export RPM_SOURCE_DIR="/usr/src/packages/BUILD/debian/SOURCES_FROM_SPEC" export __isa_bits="64" export __isa_name="x86" export __sourcedir="" export _bindir="/opt/cpanel//root/usr/bin" export _datadir="/opt/cpanel//root/usr/share" export _defaultdocdir="/opt/cpanel//root/usr/share/doc" export _docdir="/opt/cpanel//root/usr/share/doc" export _exec_prefix="/opt/cpanel//root/usr" export _includedir="/opt/cpanel//root/usr/include" export _infodir="/opt/cpanel//root/usr/share/info" export _isa="" export _lib="lib64" export _libdir="/opt/cpanel//root/usr/lib64" export _libexecdir="/opt/cpanel//root/usr/libexec" export _localstatedir="/opt/cpanel//root/var" export _mandir="/opt/cpanel//root/usr/share/man" export _prefix="/opt/cpanel//root/usr" export _root_bindir="/opt/cpanel//root/usr/bin" export _root_datadir="/opt/cpanel//root/usr/share" export _root_exec_prefix="/opt/cpanel//root/usr" export _root_includedir="/opt/cpanel//root/usr/include" export _root_infodir="/opt/cpanel//root/usr/share/info" export _root_initddir="/opt/cpanel//root/etc/rc.d/init.d" export _root_libdir="/opt/cpanel//root/usr/lib64" export _root_libexecdir="/opt/cpanel//root/usr/libexec" export _root_localstatedir="/opt/cpanel//root/var" export _root_mandir="/opt/cpanel//root/usr/share/man" export _root_prefix="/opt/cpanel//root/usr" export _root_sbindir="/opt/cpanel//root/usr/sbin" export _root_sharedstatedir="/opt/cpanel//root/usr/com" export _root_sysconfdir="/opt/cpanel//root/etc" export _sbindir="/opt/cpanel//root/usr/sbin" export _scl_prefix="/opt/cpanel" export _scl_root="/opt/cpanel//root" export _sysconfdir="/opt/cpanel//root/etc" export _unitdir="/usr/lib/systemd/system" export buildroot="/usr/src/packages/BUILD" export full_package_name="ea-cpanel-tools-1.0" export hooks_base="$DEB_INSTALL_ROOT/etc/apt/universal-hooks/multi_pkgs/Post-Invoke" export hooks_base_pre="$DEB_INSTALL_ROOT/etc/apt/universal-hooks/multi_pkgs/Pre-Install-Pkgs" export hooks_base_pre_sys="/etc/apt/universal-hooks/multi_pkgs/Pre-Install-Pkgs" export hooks_base_sys="/etc/apt/universal-hooks/multi_pkgs/Post-Invoke" export ix86="i386" export name="ea-cpanel-tools" export nil="0" export ns_name="ea" export pkg="" export pkg_name="" export pkgname="" export previous_version="1.0" export release="99" export release_prefix="99" export scl="" export scl_name="" export scl_name_base="" export scl_name_version="" export scl_prefix="" export version="1.0" export version_with_debian_revision="1.0-99" export SOURCE1="$DEB_SOURCE_ROOT/ea_current_to_profile" export SOURCE2="$DEB_SOURCE_ROOT/ea_install_profile" export SOURCE3="$DEB_SOURCE_ROOT/ea_convert_php_ini" export SOURCE4="$DEB_SOURCE_ROOT/recommendations__ea-phpNN-php__dso.json" export SOURCE5="$DEB_SOURCE_ROOT/ea_sync_user_phpini_settings" export SOURCE6="$DEB_SOURCE_ROOT/recommendations__ea-phpNN__eol.json" export SOURCE7="$DEB_SOURCE_ROOT/ea4-metainfo.json" export SOURCE8="$DEB_SOURCE_ROOT/phpini_directives.yaml" export SOURCE9="$DEB_SOURCE_ROOT/phpini_directive_links.yaml" export SOURCE10="$DEB_SOURCE_ROOT/recommendations__ea-phpNN__important-pkgs.json" export SOURCE11="$DEB_SOURCE_ROOT/recommendations__ea-rubyNN__eol.json" export SOURCE12="$DEB_SOURCE_ROOT/001-ensure-nobody" export SOURCE13="$DEB_SOURCE_ROOT/option-flags-README.md" export SOURCE14="$DEB_SOURCE_ROOT/recommendations__ea-nginx-http2__on.json" export SOURCE15="$DEB_SOURCE_ROOT/recommendations__ea-nginx-http2__off.json" export SOURCE16="$DEB_SOURCE_ROOT/pkg-manifest.json" export SOURCE17="$DEB_SOURCE_ROOT/recommendations__ea-tomcat85__eol.json" export SOURCE18="$DEB_SOURCE_ROOT/recommendations__ea-apache24-mod_cpanel__eol.json" # End vars.sh # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # <new-version> # * <postinst> `abort-remove' # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' # <failed-install-package> <version> `removing' # <conflicting-package> <version> # for details, see https://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # Contents of SOURCES/pkg.postinst #!/bin/bash set -x if [ -e "/usr/bin/apt" ]; then chmod 0644 /etc/cpanel/ea4/profiles/pkg-manifest.json fi # End SOURCES/pkg.postinst exit 0