Skip to content

Commit 2a5d3c3

Browse files
committed
Debian package composer fix
1 parent cc9d9b3 commit 2a5d3c3

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
php-subreg (0.2) UNRELEASED; urgency=medium
1+
php-subreg (0.2-1) UNRELEASED; urgency=medium
22

33
* debianized
44

debian/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
"email": "info@vitexsoftware.cz"
99
}
1010
],
11-
"version": "0.1",
11+
"version": "0.2",
1212
"require": {
1313
"ext-soap": "*",
1414
"deb/ease-framework": "*"
1515
},
1616
"autoload": {
1717
"psr-4": {
18-
"Subreg\\": "./Subreg/"
18+
"Subreg\\": "."
1919
}
2020
}
2121
}

debian/files

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
php-subreg_0.2_all.buildinfo web optional
2-
php-subreg_0.2_all.deb web optional
1+
php-subreg_0.2-1_all.buildinfo web optional
2+
php-subreg_0.2-1_all.deb web optional

debian/fixversion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
VERSTR=`dpkg-parsechangelog --show-field Version`
33
COMPOSER_VERSTR=`echo ${VERSTR}|sed 's/-/./g'`
4-
echo update debian/php-subreg/usr/share/php/Ease/composer.json version to ${COMPOSER_VERSTR}
4+
echo update debian/php-subreg/usr/share/php/Subreg/composer.json version to ${COMPOSER_VERSTR}
55
sed -i -e '/\"version\"/c\ \"version\": \"'${COMPOSER_VERSTR}'",' debian/php-subreg/usr/share/php/Ease/composer.json
66
echo Update debian/php-subreg/usr/share/php/Ease/Atom.php version to ${VERSTR}
77
sed -i -e "/static public \$libVersion/c\ static public \$frameworkVersion = '${VERSTR}';" debian/php-subreg/usr/share/php/Subreg/Client.php

debian/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ set -e
2121
case "$1" in
2222
configure)
2323

24-
composer-global-update ease-core
24+
composer-global-update subreg
2525

2626
;;
2727

0 commit comments

Comments
 (0)