Skip to content

Commit 19d2648

Browse files
committed
Fix: Override owner for pear install dir
Workaround for setup-php leaving trash around
1 parent bc16bb1 commit 19d2648

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install-extensions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ install_xhprof() {
2020
local ext="xhprof" version="${1:-stable}"
2121

2222
has_extension "$ext" && return 0
23+
# https://github.com/shivammathur/setup-php/issues/905
24+
sudo rm -rf /tmp/pear # shivammathur's leftovers...
2325
pecl install "$ext-$version"
2426
}
2527

0 commit comments

Comments
 (0)