- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.145.174.57
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/l.v.e-manager/scriptlets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/l.v.e-manager/scriptlets/rpm_posttrans.sh
#!/bin/bash

# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT

# RPM posttrans script, no arguments
# Note: Also called from Debian lvemanager.postinst scriptlet

# "lvemanager POST TRANS STARTED"

if [ -f /usr/sbin/cagefsctl ]; then
    # we need git installed in /usr/bin
    # for ability to install npm packages from git repository
    /usr/sbin/cagefsctl --wait-lock --addrpm git > /dev/null
    /usr/sbin/cagefsctl --wait-lock --addrpm git-core > /dev/null
    # python3-virtualenv and python36 packages are needed on CL8
    /usr/sbin/cagefsctl --wait-lock --addrpm python36 > /dev/null
    /usr/sbin/cagefsctl --wait-lock --addrpm python3-virtualenv > /dev/null

    if /usr/sbin/cagefsctl --check-cagefs-initialized > /dev/null; then
        # update CageFS skeleton
        /usr/sbin/cagefsctl --wait-lock --force-update > /dev/null
    fi
fi

if [ -f /var/lve/lvemanager_install_started ]; then
    rm -f /var/lve/lvemanager_install_started
fi

if [[ -n "$RHEL" && "$RHEL" -lt "8" && -f /var/lve/.py.selector.migration.needed.v2.tmp ]]; then
    # the only case when this file exists is when we update
    # from package that does not contain 'rm' in %preun =>
    # does not contain new python selector
    cloudlinux-selector import-applications --interpreter=python
    rm -f /var/lve/.py.selector.migration.needed.v2.tmp
fi

# "lvemanager POST TRANS FINISHED"

Youez - 2016 - github.com/yon3zu
LinuXploit