Skip to content

Commit 317f54d

Browse files
committed
Debian package static files fix
Postinst action added
1 parent d346799 commit 317f54d

File tree

6 files changed

+323
-1
lines changed

6 files changed

+323
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ composer.lock
1212
/debian/php-spojenet-flexibee.debhelper.log
1313
/debian/php-spojenet-flexibee.substvars
1414
/debian/php-flexibee.substvars
15+
/debian/php-flexibee.debhelper.log
Lines changed: 275 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
./src/FlexiPeeHP/Actions.php
2+
./src/FlexiPeeHP/Adresar.php
3+
./src/FlexiPeeHP/Banka.php
4+
./src/FlexiPeeHP/Cenik.php
5+
./src/FlexiPeeHP/Changes.php
6+
./src/FlexiPeeHP/Company.php
7+
./src/FlexiPeeHP/DodavatelskaSmlouva.php
8+
./src/FlexiPeeHP/Evidence.php
9+
./src/FlexiPeeHP/EvidenceList.php
10+
./src/FlexiPeeHP/FakturaPrijata.php
11+
./src/FlexiPeeHP/FakturaVydana.php
12+
./src/FlexiPeeHP/FakturaVydanaPolozka.php
13+
./src/FlexiPeeHP/Firma.php
14+
./src/FlexiPeeHP/FlexiBeeRO.php
15+
./src/FlexiPeeHP/FlexiBeeRW.php
16+
./src/FlexiPeeHP/Formats.php
17+
./src/FlexiPeeHP/Hooks.php
18+
./src/FlexiPeeHP/InterniDoklad.php
19+
./src/FlexiPeeHP/Kontakt.php
20+
./src/FlexiPeeHP/Nastaveni.php
21+
./src/FlexiPeeHP/Pokladna.php
22+
./src/FlexiPeeHP/PokladniPohyb.php
23+
./src/FlexiPeeHP/Priloha.php
24+
./src/FlexiPeeHP/RadaPokladniPohyb.php
25+
./src/FlexiPeeHP/Relations.php
26+
./src/FlexiPeeHP/Report.php
27+
./src/FlexiPeeHP/SkladovaKarta.php
28+
./src/FlexiPeeHP/SkladovyPohyb.php
29+
./src/FlexiPeeHP/SkladovyPohybPolozka.php
30+
./src/FlexiPeeHP/SkupinaFirem.php
31+
./src/FlexiPeeHP/Smlouva.php
32+
./src/FlexiPeeHP/Status.php
33+
./src/FlexiPeeHP/Stitek.php
34+
./src/FlexiPeeHP/Stitky.php
35+
./src/FlexiPeeHP/Strom.php
36+
./src/FlexiPeeHP/StromCenik.php
37+
./src/FlexiPeeHP/Sum.php
38+
./src/FlexiPeeHP/UcetniObdobi.php
39+
./src/FlexiPeeHP/VyrobniCislo.php
40+
./src/FlexiPeeHP/Zavazek.php
41+
./src/FlexiPeeHP/Zurnal.php
42+
./debian/composer.json
43+
./debian/test/composer.json
44+
./debian/test/config.json
45+
./debian/test/flexibeeping.php
46+
./static/Actions.json
47+
./static/EvidenceFullList.json
48+
./static/EvidenceList.json
49+
./static/Formats.json
50+
./static/Properties.adresar-bankovni-ucet.json
51+
./static/Properties.adresar.json
52+
./static/Properties.analyza-nakupu.json
53+
./static/Properties.analyza-prodeje.json
54+
./static/Properties.analyza-zakazky.json
55+
./static/Properties.atribut.json
56+
./static/Properties.banka-polozka.json
57+
./static/Properties.banka.json
58+
./static/Properties.bankovni-ucet.json
59+
./static/Properties.cenik-obal.json
60+
./static/Properties.cenik.json
61+
./static/Properties.cenikova-skupina.json
62+
./static/Properties.cenikovy-pohyb-nakup.json
63+
./static/Properties.cenikovy-pohyb-prodej.json
64+
./static/Properties.cenova-uroven.json
65+
./static/Properties.certifikacni-autorita.json
66+
./static/Properties.certifikat-eet.json
67+
./static/Properties.cinnost.json
68+
./static/Properties.ciselnik-mzdovych-slozek.json
69+
./static/Properties.cislo-baliku.json
70+
./static/Properties.cleneni-dph.json
71+
./static/Properties.cleneni-kontrolni-hlaseni.json
72+
./static/Properties.custom-button.json
73+
./static/Properties.danova-evidence.json
74+
./static/Properties.dashboard-panel.json
75+
./static/Properties.dashboard-sharing.json
76+
./static/Properties.dite.json
77+
./static/Properties.dodavatel.json
78+
./static/Properties.dodavatelska-smlouva.json
79+
./static/Properties.dodavatelsky-typ-smlouvy.json
80+
./static/Properties.doklad-k-uhrade.json
81+
./static/Properties.eet-komunikace.json
82+
./static/Properties.faktura-prijata-polozka.json
83+
./static/Properties.faktura-prijata.json
84+
./static/Properties.faktura-vydana-polozka.json
85+
./static/Properties.faktura-vydana.json
86+
./static/Properties.filtr.json
87+
./static/Properties.forma-dopravy.json
88+
./static/Properties.forma-uhrady-zauctovani.json
89+
./static/Properties.forma-uhrady.json
90+
./static/Properties.format-elektronickeho-bankovnictvi.json
91+
./static/Properties.hlavni-kniha.json
92+
./static/Properties.hodnoceni-zakazky.json
93+
./static/Properties.individualni-cenik.json
94+
./static/Properties.insight.json
95+
./static/Properties.interni-doklad-polozka.json
96+
./static/Properties.interni-doklad.json
97+
./static/Properties.intrastat-dodaci-podminky.json
98+
./static/Properties.intrastat-druh-dopravy.json
99+
./static/Properties.intrastat-kod-nomenklatury.json
100+
./static/Properties.intrastat-kraj-urceni.json
101+
./static/Properties.intrastat-kurz.json
102+
./static/Properties.intrastat-merna-jednotka.json
103+
./static/Properties.intrastat-obchodni-transakce.json
104+
./static/Properties.intrastat-zvlastni-pohyb.json
105+
./static/Properties.inventura-polozka.json
106+
./static/Properties.inventura.json
107+
./static/Properties.konst-symbol.json
108+
./static/Properties.kontakt.json
109+
./static/Properties.kurz-pro-cenotvorbu.json
110+
./static/Properties.kurz.json
111+
./static/Properties.leasing.json
112+
./static/Properties.majetek-udalost.json
113+
./static/Properties.majetek.json
114+
./static/Properties.mapovani-skladu.json
115+
./static/Properties.mena.json
116+
./static/Properties.merna-jednotka.json
117+
./static/Properties.misto-urceni.json
118+
./static/Properties.mzda.json
119+
./static/Properties.mzdova-slozka.json
120+
./static/Properties.mzdy-bankovni-spojeni.json
121+
./static/Properties.nabidka-prijata-polozka.json
122+
./static/Properties.nabidka-prijata.json
123+
./static/Properties.nabidka-vydana-polozka.json
124+
./static/Properties.nabidka-vydana.json
125+
./static/Properties.naklad.json
126+
./static/Properties.nastaveni.json
127+
./static/Properties.nepritomnost.json
128+
./static/Properties.objednavka-prijata-polozka.json
129+
./static/Properties.objednavka-prijata.json
130+
./static/Properties.objednavka-vydana-polozka.json
131+
./static/Properties.objednavka-vydana.json
132+
./static/Properties.obrat.json
133+
./static/Properties.obratova-predvaha.json
134+
./static/Properties.odberatel.json
135+
./static/Properties.odpisova-skupina.json
136+
./static/Properties.osoba-hlavicka.json
137+
./static/Properties.osoba.json
138+
./static/Properties.parametr.json
139+
./static/Properties.penezni-ustav.json
140+
./static/Properties.podklady-dph.json
141+
./static/Properties.podobne-zbozi.json
142+
./static/Properties.pohledavka-polozka.json
143+
./static/Properties.pohledavka.json
144+
./static/Properties.pohyb-na-uctech.json
145+
./static/Properties.pokladna.json
146+
./static/Properties.pokladni-pohyb-polozka.json
147+
./static/Properties.pokladni-pohyb.json
148+
./static/Properties.poplatek.json
149+
./static/Properties.poptavka-prijata-polozka.json
150+
./static/Properties.poptavka-prijata.json
151+
./static/Properties.poptavka-vydana-polozka.json
152+
./static/Properties.poptavka-vydana.json
153+
./static/Properties.prace-mesic.json
154+
./static/Properties.prace.json
155+
./static/Properties.pracovni-pomer-hlavicka.json
156+
./static/Properties.pracovni-pomer.json
157+
./static/Properties.pravo-viditelnosti.json
158+
./static/Properties.predpis-zauctovani.json
159+
./static/Properties.prehled-zamestnancu.json
160+
./static/Properties.preneseni-dph.json
161+
./static/Properties.prikaz-k-inkasu-polozka.json
162+
./static/Properties.prikaz-k-inkasu.json
163+
./static/Properties.prikaz-k-uhrade-polozka.json
164+
./static/Properties.prikaz-k-uhrade.json
165+
./static/Properties.priloha.json
166+
./static/Properties.prislustenstvi.json
167+
./static/Properties.prodejka-platba.json
168+
./static/Properties.prodejka.json
169+
./static/Properties.psc.json
170+
./static/Properties.rada-banka.json
171+
./static/Properties.rada-faktury-prijate.json
172+
./static/Properties.rada-faktury-vydane.json
173+
./static/Properties.rada-interniho-dokladu.json
174+
./static/Properties.rada-nabidky-prijate.json
175+
./static/Properties.rada-nabidky-vydane.json
176+
./static/Properties.rada-objednavky-prijate.json
177+
./static/Properties.rada-objednavky-vydane.json
178+
./static/Properties.rada-pohledavky.json
179+
./static/Properties.rada-pokladni-pohyb.json
180+
./static/Properties.rada-poptavky-prijate.json
181+
./static/Properties.rada-poptavky-vydane.json
182+
./static/Properties.rada-skladovy-pohyb.json
183+
./static/Properties.rada-zavazku.json
184+
./static/Properties.rada.json
185+
./static/Properties.radek-priznani-dph.json
186+
./static/Properties.rezervace.json
187+
./static/Properties.rocni-rada.json
188+
./static/Properties.rozvaha-po-uctech.json
189+
./static/Properties.sablona-upominky.json
190+
./static/Properties.sady-a-komplety.json
191+
./static/Properties.saldo-k-datu.json
192+
./static/Properties.saldo.json
193+
./static/Properties.sazba-dph.json
194+
./static/Properties.setting-store.json
195+
./static/Properties.sklad.json
196+
./static/Properties.skladova-karta.json
197+
./static/Properties.skladovy-pohyb-polozka.json
198+
./static/Properties.skladovy-pohyb.json
199+
./static/Properties.skupina-atributu.json
200+
./static/Properties.skupina-firem.json
201+
./static/Properties.skupina-osob.json
202+
./static/Properties.skupina-stitku.json
203+
./static/Properties.skupina-zbozi.json
204+
./static/Properties.smena.json
205+
./static/Properties.smlouva-polozka.json
206+
./static/Properties.smlouva.json
207+
./static/Properties.srazka.json
208+
./static/Properties.stala-mzdova-slozka.json
209+
./static/Properties.stat.json
210+
./static/Properties.stav-ceniku.json
211+
./static/Properties.stav-skladu-k-datu.json
212+
./static/Properties.stav-smlouvy.json
213+
./static/Properties.stav-uctu.json
214+
./static/Properties.stav-zakazky.json
215+
./static/Properties.stitek.json
216+
./static/Properties.stredisko.json
217+
./static/Properties.strom-cenik.json
218+
./static/Properties.strom-koren.json
219+
./static/Properties.strom.json
220+
./static/Properties.subjekt.json
221+
./static/Properties.text.json
222+
./static/Properties.typ-aktivity.json
223+
./static/Properties.typ-atributu.json
224+
./static/Properties.typ-banka.json
225+
./static/Properties.typ-faktury-prijate.json
226+
./static/Properties.typ-faktury-vydane.json
227+
./static/Properties.typ-interniho-dokladu.json
228+
./static/Properties.typ-leasingu.json
229+
./static/Properties.typ-majetku.json
230+
./static/Properties.typ-nabidky-prijate.json
231+
./static/Properties.typ-nabidky-vydane.json
232+
./static/Properties.typ-nakladu.json
233+
./static/Properties.typ-objednavky-prijate.json
234+
./static/Properties.typ-objednavky-vydane.json
235+
./static/Properties.typ-organizace.json
236+
./static/Properties.typ-pohledavky.json
237+
./static/Properties.typ-pokladni-pohyb.json
238+
./static/Properties.typ-poptavky-prijate.json
239+
./static/Properties.typ-poptavky-vydane.json
240+
./static/Properties.typ-pracovniho-pomeru.json
241+
./static/Properties.typ-prodejky.json
242+
./static/Properties.typ-skladovy-pohyb.json
243+
./static/Properties.typ-smlouvy.json
244+
./static/Properties.typ-stavu-ceniku.json
245+
./static/Properties.typ-uzivatelske-vazby.json
246+
./static/Properties.typ-vzajemnych-zapoctu.json
247+
./static/Properties.typ-zakazky.json
248+
./static/Properties.typ-zavazku.json
249+
./static/Properties.ucet.json
250+
./static/Properties.ucetni-denik.json
251+
./static/Properties.ucetni-obdobi.json
252+
./static/Properties.ucetni-osnova.json
253+
./static/Properties.udalost.json
254+
./static/Properties.umisteni-ve-skladu-mistnost.json
255+
./static/Properties.umisteni-ve-skladu-police.json
256+
./static/Properties.umisteni-ve-skladu-regal.json
257+
./static/Properties.umisteni-ve-skladu.json
258+
./static/Properties.umisteni.json
259+
./static/Properties.uzivatel.json
260+
./static/Properties.uzivatelska-vazba.json
261+
./static/Properties.uzivatelsky-dotaz-parametr.json
262+
./static/Properties.uzivatelsky-dotaz-vlastnost.json
263+
./static/Properties.uzivatelsky-dotaz.json
264+
./static/Properties.vazba.json
265+
./static/Properties.vazebni-doklad.json
266+
./static/Properties.vykaz-hospodareni.json
267+
./static/Properties.vyrobni-cislo.json
268+
./static/Properties.vzajemny-zapocet.json
269+
./static/Properties.xslt.json
270+
./static/Properties.zakazka.json
271+
./static/Properties.zapujcka.json
272+
./static/Properties.zavazek-polozka.json
273+
./static/Properties.zavazek.json
274+
./static/Properties.zurnal.json
275+
./static/Relations.json

debian/.debhelper/generated/php-spojenet-flexibee/installed-by-dh_installdocs

Whitespace-only changes.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/bin/sh
2+
3+
#DEBHELPER#
4+
5+
# postinst script for php-spojenet-flexibee
6+
#
7+
# see: dh_installdeb(1)
8+
9+
set -e
10+
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/flexibee
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.
42+
43+
exit 0
44+
45+
#DEBHELPER#

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ override_dh_install:
1010
jq '.address = "'`dpkg-parsechangelog | sed -n 's/^Version: //p'`'"' debian/composer.json |sponge debian/composer.json
1111
composer update
1212
dh_install
13-
sed -i -e "s/\/\.\.\/\.\.\///g" debian/php-spojenet-flexibee/usr/share/php/FlexiPeeHP/FlexiBeeRO.php
13+
sed -i -e "s/\/\.\.\/\.\.\//\//g" debian/php-spojenet-flexibee/usr/share/php/FlexiPeeHP/FlexiBeeRO.php
1414
./debian/fixversion.sh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"id":{"showToUser":"false","propertyName":"id","dbName":"IdOsCert","name":"ID","title":"ID","type":"integer","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"true","inSummary":"true","inDetail":"true","mandatory":"false","isWritable":"false","isOverWritable":"false","hasBusinessLogic":"false","isUpperCase":"false","isLowerCase":"false","links":null},"lastUpdate":{"showToUser":"false","propertyName":"lastUpdate","dbName":"lastUpdate","name":"Posledn\u00ed zm\u011bna","title":"Posledn\u00ed zm\u011bna","type":"datetime","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"false","inSummary":"true","inDetail":"true","mandatory":"false","isWritable":"false","isOverWritable":"false","hasBusinessLogic":"true","isUpperCase":"false","isLowerCase":"false","links":null},"uzivNazev":{"showToUser":"true","propertyName":"uzivNazev","dbName":"UzivNazev","name":"Pozn\u00e1mka","title":"Pozn\u00e1mka","type":"string","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"false","inSummary":"false","inDetail":"true","mandatory":"false","maxLength":"255","isWritable":"true","isOverWritable":"true","hasBusinessLogic":"false","isUpperCase":"false","isLowerCase":"false","links":null},"certNazev":{"showToUser":"true","propertyName":"certNazev","dbName":"CertNazev","name":"N\u00e1zev certifik\u00e1tu","title":"N\u00e1zev certifik\u00e1tu","type":"string","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"false","inSummary":"true","inDetail":"true","mandatory":"true","maxLength":"255","isWritable":"true","isOverWritable":"true","hasBusinessLogic":"false","isUpperCase":"false","isLowerCase":"false","links":null},"certOrgan":{"showToUser":"true","propertyName":"certOrgan","dbName":"CertOrgan","name":"Organizace certifik\u00e1tu","title":"Organizace certifik\u00e1tu","type":"string","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"false","inSummary":"false","inDetail":"true","mandatory":"true","maxLength":"255","isWritable":"true","isOverWritable":"true","hasBusinessLogic":"false","isUpperCase":"false","isLowerCase":"false","links":null},"platiOd":{"showToUser":"true","propertyName":"platiOd","dbName":"PlatiOd","name":"Plat\u00ed od","title":"Plat\u00ed od","type":"datetime","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"false","inSummary":"false","inDetail":"true","mandatory":"true","isWritable":"true","isOverWritable":"true","hasBusinessLogic":"false","isUpperCase":"false","isLowerCase":"false","links":null},"platiDo":{"showToUser":"true","propertyName":"platiDo","dbName":"PlatiDo","name":"Plat\u00ed do","title":"Plat\u00ed do","type":"datetime","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"false","inSummary":"true","inDetail":"true","mandatory":"true","isWritable":"true","isOverWritable":"true","hasBusinessLogic":"false","isUpperCase":"false","isLowerCase":"false","links":null},"eetProvozovna":{"showToUser":"true","propertyName":"eetProvozovna","dbName":"EetProvozovna","name":"Ozna\u010den\u00ed provozovny","title":"Ozna\u010den\u00ed provozovny","type":"integer","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"false","inSummary":"true","inDetail":"true","mandatory":"false","isWritable":"true","isOverWritable":"true","hasBusinessLogic":"true","isUpperCase":"false","isLowerCase":"false","links":null},"uzivatel":{"showToUser":"true","propertyName":"uzivatel","dbName":"IdUzivatel","name":"U\u017eivatel","title":"U\u017eivatel","type":"relation","fkName":"Osoby a u\u017eivatel\u00e9 20024","fkEvidencePath":"uzivatel","fkEvidenceType":"UZIVATELE","isVisible":"true","isSortable":"true","isHighlight":"false","inId":"false","inSummary":"false","inDetail":"true","mandatory":"false","maxLength":"254","isWritable":"false","isOverWritable":"false","hasBusinessLogic":"false","isUpperCase":"false","isLowerCase":"true","url":"http:\/\/vitexsoftware.flexibee.eu:5434\/c\/flexipeehp\/uzivatel","links":null}}

0 commit comments

Comments
 (0)