pkg install, add link if package no have scripts
This commit is contained in:
@ -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 ***
|
||||
|
||||
Reference in New Issue
Block a user