online :ˆl–Ðz¾” Jj"TÒ�zàœ¸”Å£Ä ƒ^oÃa–Ãa¾”*j"T†À»pAS�ÿ¡#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - scripts/distro_changed_hook Copyright 2022 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited package scripts::distro_changed_hook; use cPstrict; =encoding utf-8 =head1 NAME F =head1 USAGE distro_changed_hook [--help] =head1 DESCRIPTION This is executed by RPM triggers in the cpanel-trigger-os-release package when one of the supported OS release packages is changed. =cut #---------------------------------------------------------------------- use parent qw( Cpanel::HelpfulScript ); use constant _OPTIONS => (); use Cpanel::OS (); use Cpanel::ServerTasks (); exit( __PACKAGE__->new(@ARGV)->run() ) if !caller; #---------------------------------------------------------------------- sub run ($self) { Cpanel::OS::flush_disk_caches(); Cpanel::ServerTasks::schedule_task( ['CpServicesTasks'], 1, 'restartsrv cpsrvd' ); return 0; # exit() value } 1; $ ˆl–äY>””†Ù”â�nãa¸&TÅ£Æ „ ‚_Å¿Ã?L a y–|jÕcã @sdZddlZddlZddlmZmZgd¢ZdhZdddd d d d d dœddddddd d dœdddddddd dœddddddddœddddd d!ddœd"d"d#d#d$d!ddœd%œZd&Z e ed'ƒsÒej ej ksÒd(ej vrÒd)ZdZej ¡dZd*ejdd+…Zd,ejdd+…Zej ej ¡Zej ej ¡Zej ej¡Zej ej¡ZdadZd-d.„Z ej!�rlej "e ej!ƒ¡Z#n e e $¡ƒZ#ej%d/k�r¨e# &¡ 'd0¡�r¨e ej (e#ee¡ƒZ#d1ej v�rÂe ej d1ƒZ#d2d3„Z)e*ed4dƒZ+ej%d/k�rúd5d6„Z,e,e#ƒZ#e,e+ƒZ+dnd7d8„Z-e-d9ƒZ.e.�r6d:D]Z/d;ee/d<<d=ee/d><�qd?d@„Z0dAdB„Z1dCdD„Z2dEdF„Z3dGdH„Z4dodIdJ„Z5dKdL„Z6dMdN„Z7dOdP„Z8dQdR„Z9dSdT„Z:dpdUdV„Z;dWdX„Ze3ƒdd9fd]d^„Z?e3ƒdd9fd_d`„Z@dadb„ZAdcdd„ZBdedf„ZCdgdh„ZDdidj„ZEdkdl„ZFeGdmk�reFƒdS)qz-Access to Python's configuration information.éN)ÚpardirÚrealpath) Úget_config_h_filenameÚget_config_varÚget_config_varsÚget_makefile_filenameÚget_pathÚget_path_namesÚ get_pathsÚ get_platformÚget_python_versionÚget_scheme_namesÚparse_config_hZMACOSX_DEPLOYMENT_TARGETz6{installed_base}/{platlibdir}/python{py_version_short}z0{platbase}/{platlibdir}/python{py_version_short}z1{base}/lib/python{py_version_short}/site-packagesz>{platbase}/{platlibdir}/python{py_version_short}/site-packagesz;{installed_base}/include/python{py_version_short}{abiflags}z?{installed_platbase}/include/python{py_version_short}{abiflags}z {base}/binz{base})ÚstdlibÚ platstdlibÚpurelibÚplatlibÚincludeÚ platincludeÚscriptsÚdataz{installed_base}/lib/pythonz{base}/lib/pythonz{installed_base}/include/pythonz{installed_base}/Libz {base}/Libz{base}/Lib/site-packagesz{installed_base}/Includez{base}/Scriptsz#{userbase}/Python{py_version_nodot}z1{userbase}/Python{py_version_nodot}/site-packagesz+{userbase}/Python{py_version_nodot}/Includez+{userbase}/Python{py_version_nodot}/Scriptsz {userbase})rrrrrrrz0{userbase}/{platlibdir}/python{py_version_short}z5{userbase}/lib/python{py_version_short}/site-packagesz>{userbase}/{platlibdir}/python{py_version_short}/site-packagesz+{userbase}/include/python{py_version_short}z{userbase}/binz{userbase}/lib/pythonz#{userbase}/lib/python/site-packagesz{userbase}/include)Ú posix_prefixÚ posix_homeÚntZnt_userZ posix_userZosx_framework_userFZ real_prefixÚRPM_BUILD_ROOTz/localú%d.%déz%d%dcCs&z t|ƒWSty |YS0dS©N)rÚOSError)Úpath©r ú!/usr/lib64/python3.9/sysconfig.pyÚ_safe_realpathxs  r"r)z\pcbuild\win32z\pcbuild\amd64Z_PYTHON_PROJECT_BASEcCs,dD]"}tj tj |d|¡¡rdSqdS)N)ZSetupz Setup.localZModulesTF)Úosr