| Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 Path : /usr/share/python-cllib/scriptlets/ |
| Current File : //usr/share/python-cllib/scriptlets/rpm_post.sh |
#!/bin/bash # RPM post script, no arguments # Note: Also called from Debian alt-python27-cllib.postinst scriptlet # Arguments: # $1 - CL venv dir path - /opt/cloudlinux/venv # $2 - hook marker file - /usr/share/cloudlinux/hooks/.inuse.tmp # "python-cllib POST INSTALL STARTED" # /opt/cloudlinux/venv/bin/python3 /opt/cloudlinux/venv/usr/bin/cpapirebuildcache "$1"/bin/python3 "$1"/usr/bin/cpapirebuildcache # create temporary marker which means that newly # installed packege uses universal hooks #touch /usr/share/cloudlinux/hooks/.inuse.tmp touch "$2" # run /usr/sbin/panel_users_counter /usr/sbin/getpaneluserscount # "python-cllib POST INSTALL FINISHED"