Skip to content

Commit 0b5260b

Browse files
Vitexusoz-agent
andcommitted
Remove composer-debian/composer-global-update from postinst
Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 596b6cc commit 0b5260b

2 files changed

Lines changed: 2 additions & 42 deletions

File tree

debian/php-vitexsoftware-ease-html-dev.postinst

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

2626
case "$1" in
2727
configure)
28-
composer-debian php-vitexsoftware-ease-html-dev
2928
pwd
3029
echo 'TESTING: phpunit --bootstrap /usr/share/php/EaseHtml/Test/Bootstrap.php --configuration /usr/share/php/EaseHtml/Test/phpunit.xml'
31-
su - `composer-webuser` -s /bin/bash -c 'phpunit --bootstrap /usr/share/php/EaseHtml/Test/Bootstrap.php --configuration /usr/share/php/EaseHtml/Test/phpunit.xml'
30+
su - www-data -s /bin/bash -c 'phpunit --bootstrap /usr/share/php/EaseHtml/Test/Bootstrap.php --configuration /usr/share/php/EaseHtml/Test/phpunit.xml'
3231
;;
3332

3433
abort-upgrade|abort-remove|abort-deconfigure)
Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,6 @@
11
#!/bin/sh
2-
3-
#DEBHELPER#
4-
5-
# postinst script for ease-html
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-
27-
composer-global-update deb/ease-html
28-
29-
;;
30-
31-
abort-upgrade|abort-remove|abort-deconfigure)
32-
;;
33-
34-
*)
35-
echo "postinst called with unknown argument \`$1'" >&2
36-
exit 1
37-
;;
38-
esac
39-
40-
# dh_installdeb will replace this with shell code automatically
41-
# generated by other debhelper scripts.
4+
#DEBHELPER#
425

436
exit 0
44-
45-
#DEBHELPER#

0 commit comments

Comments
 (0)