pkg install, add link if package no have scripts

This commit is contained in:
2026-09-15 03:44:26 +03:00
parent e5c7d22875
commit e00e56a6b6
23 changed files with 354 additions and 9 deletions

View File

@ -6,8 +6,12 @@ ssh://git@root-kit.ru:17458/UnitPrint/web-app.git
save_source
```
``` sh *** patch ***
npm install
```
``` sh *** build ***
git pull
git pull || true
npm install
npm run build
rm -rf ../dist
@ -15,9 +19,11 @@ cp -rPl dist ..
```
``` sh *** config ***
rm -f src/.aeropkg.applied-build
rm -f build-script.md
chmod o+x /pkg/gnu/unitprint
chown -R nginx:nginx /pkg/gnu/unitprint/web-app/dist
nginx -s reload
```
``` sh *** init ***