Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:cpanel:dev:EA4
scl-php73-pear
pkg.postrm
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pkg.postrm of Package scl-php73-pear
#!/bin/bash # vars set when slurped into maintenance scripts it autogenerated # no mechanism for that in SPEC yet, also looks in debian/ and not <macro>.debian/ # we can not yet use them in the spec until ZC-8893 does ^^^ # We need to delete the registry only on removal or purge is_uninstall="" # in the rpm case if [ "$1" == "0" ]; then is_uninstall="yes" fi # in the deb case on removal if [ "$1" == "remove" ]; then is_uninstall="yes" fi # in the deb case if they call for a purge if [ "$1" == "purge" ]; then is_uninstall="yes" fi if [ "$is_uninstall" == "yes" ]; then if [ -d $metadir/.registry ] ; then rm -rf $metadir/.registry fi # Remove with EA3 if [ $1 -eq 0 -a -h "/usr/local/bin/pear" -a "$(readlink /usr/local/bin/pear)" = "$_bindir/pear" ]; then echo "Removing pear symlink: /usr/local/bin/pear"; rm /usr/local/bin/pear; fi fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor