diff --git a/debian/multiflexi-api.postinst b/debian/multiflexi-api.postinst index 9654161..d5ec190 100644 --- a/debian/multiflexi-api.postinst +++ b/debian/multiflexi-api.postinst @@ -29,5 +29,13 @@ if [ "$1" = "configure" ] ; then }' /usr/lib/multiflexi/composer.json > /usr/lib/multiflexi/composer.json.tmp mv /usr/lib/multiflexi/composer.json.tmp /usr/lib/multiflexi/composer.json + # Add require deb/multiflexi-api in any version + jq '.repositories += { + "type": "vcs", + "url": "https://github.com/ybelenko/slim-token-authentication", + "no-api": true + }' /usr/lib/multiflexi/composer.json > /usr/lib/multiflexi/composer.json.tmp + mv /usr/lib/multiflexi/composer.json.tmp /usr/lib/multiflexi/composer.json + composer-debian multiflexi fi