1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Drop the old php patch

This commit is contained in:
Alexandre Aubin 2021-02-21 22:02:28 +01:00
parent f384b00b11
commit f6531db64e
3 changed files with 0 additions and 14 deletions

View file

@ -1,12 +0,0 @@
PHP_DEPS="php-bcmath php-cli php-curl php-dev php-gd php-gmp php-imap php-intl php-json php-ldap php-mbstring php-mysql php-soap php-sqlite3 php-tidy php-xml php-xmlrpc php-zip php-dom php-opcache php-xsl php-apcu php-geoip php-imagick php-memcached php-redis php-ssh2 php-common"
grep -q -nr "php-" scripts/* || exit 0
for DEP in $PHP_DEPS
do
NEWDEP=$(echo $DEP | sed 's/php-/php7.0-/g')
[ ! -e ./scripts/_common.sh ] || sed "/^\s*#/!s/$DEP/$NEWDEP/g" -i ./scripts/_common.sh
[ ! -e ./scripts/install ] || sed "/^\s*#/!s/$DEP/$NEWDEP/g" -i ./scripts/install
[ ! -e ./scripts/upgrade ] || sed "/^\s*#/!s/$DEP/$NEWDEP/g" -i ./scripts/upgrade
[ ! -e ./scripts/restore ] || sed "/^\s*#/!s/$DEP/$NEWDEP/g" -i ./scripts/restore
done

View file

@ -1 +0,0 @@
(This a test for now, please ignore, sorry for the noise)

View file

@ -1 +0,0 @@
Explicitly version for php dependencies