Kerala Cyber Warriors
KCW Uploader V1.1

Path : /var/lib/dpkg/info/
File Upload :
Current File : //var/lib/dpkg/info/cpanel-plugin-monitoring-campaigns.preinst

#!/bin/bash
# preinst script for cpanel-plugin-monitoring-campaigns
#
# 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 _cpanel_plugins="/var/cpanel/plugins"
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 _ulc="/usr/local/cpanel"
export _unitdir="/usr/lib/systemd/system"
export buildroot="/usr/src/packages/BUILD/debian/tmp"
export config_docs_url="https://cpanel.net # TODO"
export full_package_name="cpanel-plugin-monitoring-campaigns-0.0.6"
export ix86="i386"
export name="cpanel-plugin-monitoring-campaigns"
export nil="0"
export ns_name="ea"
export pkg=""
export pkg_name=""
export pkgname=""
export previous_version="0.0.5"
export release="1"
export release_prefix="1"
export scl=""
export scl_name=""
export scl_name_base=""
export scl_name_version=""
export scl_prefix=""
export version="0.0.6"
export version_with_debian_revision="0.0.6-1"
export SOURCE0="$DEB_SOURCE_ROOT/LICENSE"
export SOURCE1="$DEB_SOURCE_ROOT/pkg.postinst"
export SOURCE2="$DEB_SOURCE_ROOT/pkg.preinst"
export SOURCE3="$DEB_SOURCE_ROOT/pkg.prerm"
export SOURCE4="$DEB_SOURCE_ROOT/_usr_local_cpanel_Cpanel_Plugins_Components_Campaign_DurationSequence.pm"
export SOURCE5="$DEB_SOURCE_ROOT/_usr_local_cpanel_Cpanel_Plugins_Components_whostmgr_home_360_homebanner.pm"
export SOURCE6="$DEB_SOURCE_ROOT/_usr_local_cpanel_Cpanel_Plugins_Components_whostmgr_home_360_prerelease_education.pm"
export SOURCE7="$DEB_SOURCE_ROOT/_usr_local_cpanel_t_medium_Cpanel-Plugins-Components-Campaign-DurationSequence.t"
export SOURCE8="$DEB_SOURCE_ROOT/_usr_local_cpanel_t_medium_Cpanel-Plugins-Components-whostmgr-home-360_homebanner.t"
export SOURCE9="$DEB_SOURCE_ROOT/_usr_local_cpanel_t_medium_Cpanel-Plugins-Components-whostmgr-home-360_prerelease_education.t"
export SOURCE10="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_images_360_monitoring.svg"
export SOURCE11="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_images_line-graph.svg"
export SOURCE12="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_images_wave-graph.svg"
export SOURCE13="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_templates_monitoring-campaigns_company7-first_banner.tmpl"
export SOURCE14="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_templates_monitoring-campaigns_company7-first_campaign-banner-360.min.js"
export SOURCE15="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_templates_monitoring-campaigns_company7-first_campaign-banner-360.min.js.map"
export SOURCE16="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_templates_monitoring-campaigns_sequence_campaign-banner.min.js"
export SOURCE17="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_templates_monitoring-campaigns_sequence_campaign-banner.min.js.map"
export SOURCE18="$DEB_SOURCE_ROOT/_usr_local_cpanel_whostmgr_docroot_templates_monitoring-campaigns_sequence_campaign-banner.tmpl"
export SOURCE19="$DEB_SOURCE_ROOT/_var_cpanel_plugins_monitoring-campaigns_360_homebanner.json"
export SOURCE20="$DEB_SOURCE_ROOT/_var_cpanel_plugins_monitoring-campaigns_360_prerelease_education.json"
export SOURCE21="$DEB_SOURCE_ROOT/_var_cpanel_plugins_monitoring-campaigns_README.md"
# End vars.sh

# summary of how this script can be called:
#        * <new-preinst> `install'
#        * <new-preinst> `install' <old-version>
#        * <new-preinst> `upgrade' <old-version>
#        * <old-preinst> `abort-upgrade' <new-version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    install|upgrade)
    ;;

    abort-upgrade)
    ;;

    *)
        echo "preinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# Contents of SOURCES/pkg.preinst
#!/bin/bash

PLUGIN_DIR='/var/cpanel/plugins/monitoring-campaigns'

if [[ "$1" == "2" || "$1" == "upgrade" ]]; then
    # Only needed if this if block remains empty:
    true;
fi
# End SOURCES/pkg.preinst


exit 0

-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ