|
Server IP : 37.60.233.201 / Your IP : 216.73.217.25 Web Server : Apache System : Linux host.ivahost.com 4.18.0-553.107.1.lve.el8.x86_64 #1 SMP Tue Feb 24 21:12:31 UTC 2026 x86_64 User : dcaksa ( 1043) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /etc/ld.so.conf.d/../scl/../cl.python/../scriptlets/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
#!/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"