summaryrefslogtreecommitdiff
path: root/pear/PEAR-Horde-Channel/PEAR-Horde-Channel.spec
diff options
context:
space:
mode:
Diffstat (limited to 'pear/PEAR-Horde-Channel/PEAR-Horde-Channel.spec')
-rw-r--r--pear/PEAR-Horde-Channel/PEAR-Horde-Channel.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/pear/PEAR-Horde-Channel/PEAR-Horde-Channel.spec b/pear/PEAR-Horde-Channel/PEAR-Horde-Channel.spec
index bb68d47..51ac532 100644
--- a/pear/PEAR-Horde-Channel/PEAR-Horde-Channel.spec
+++ b/pear/PEAR-Horde-Channel/PEAR-Horde-Channel.spec
@@ -46,11 +46,13 @@ env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off"
env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off" \
%{l_prefix}/bin/pear -d php_dir=%{l_prefix}/lib/php channel-update %{pear_xmldir}/pear.horde.org.xml || \
echo "Could not update channel pear.horde.org!" && sleep 1
+ rm -rf %{l_prefix}/RPM/TMP/pear
%postun
env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off" \
%{l_prefix}/bin/pear -d php_dir=%{l_prefix}/lib/php channel-delete pear.horde.org || \
echo "Could not delete channel pear.horde.org!" && sleep 1
+ rm -rf %{l_prefix}/RPM/TMP/pear
%files -f files