Skip to content

Commit 1576fc5

Browse files
Vitexusoz-agent
andcommitted
Remove composer-debian/composer-global-update from postinst
Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 46f9fa4 commit 1576fc5

2 files changed

Lines changed: 2 additions & 40 deletions

File tree

debian/php-vitexsoftware-rbczpremiumapi-dev.postinst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ set -e
2525

2626
case "$1" in
2727
configure)
28-
composer-debian php-vitexsoftware-rbczpremiumapi-dev
2928
chmod a+rwX /usr/share/php/Raiffeisenbank/Test/ -R
3029
if [ -z "$XIBMCLIENTID" ]
3130
then
3231
echo XIBMCLIENTID is not set. Skipping Test
3332
else
34-
su - `composer-webuser` -s /bin/bash -c 'phpunit --bootstrap /usr/share/php/Raiffeisenbank/Test/bootstrap.php --configuration /usr/share/php/Raiffeisenbank/Test/phpunit.xml'
33+
su - www-data -s /bin/bash -c 'phpunit --bootstrap /usr/share/php/Raiffeisenbank/Test/bootstrap.php --configuration /usr/share/php/Raiffeisenbank/Test/phpunit.xml'
3534
fi
3635
;;
3736

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,6 @@
11
#!/bin/sh
2-
3-
#DEBHELPER#
4-
5-
# postinst script for php-vitexsoftware-rbczpremiumapi
6-
#
7-
# see: dh_installdeb(1)
8-
92
set -e
103

11-
# summary of how this script can be called:
12-
# * <postinst> `configure' <most-recently-configured-version>
13-
# * <old-postinst> `abort-upgrade' <new version>
14-
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
15-
# <new-version>
16-
# * <postinst> `abort-remove'
17-
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
18-
# <failed-install-package> <version> `removing'
19-
# <conflicting-package> <version>
20-
# for details, see http://www.debian.org/doc/debian-policy/ or
21-
# the debian-policy package
22-
23-
24-
case "$1" in
25-
configure)
26-
composer-global-update deb/rbczpremiumapi
27-
;;
28-
29-
abort-upgrade|abort-remove|abort-deconfigure)
30-
;;
31-
32-
*)
33-
echo "postinst called with unknown argument \`$1'" >&2
34-
exit 1
35-
;;
36-
esac
37-
38-
# dh_installdeb will replace this with shell code automatically
39-
# generated by other debhelper scripts.
4+
#DEBHELPER#
405

416
exit 0
42-
43-
#DEBHELPER#

0 commit comments

Comments
 (0)