1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00
simpsh-httpd/mkdeb.sh
2018-07-03 15:54:24 +00:00

15 lines
565 B
Bash

cd ~
git clone https://github.com/niansa/simpsh-httpd.git
chmod +x ./simpsh-httpd/mkpackage.sh
./simpsh-httpd/mkpackage.sh ~/simpsh-httpd/ ~/simpsh-httpd-pkg/
mkdir ~/simpsh-httpd-pkg/DEBIAN
echo 'Package: simpsh-httpd
Version: 1.2.0
Maintainer: nisa/niansa <nisa@bitcoinshell.mooo.com>
Priority: extra
Architecture: all
Depends: bash, socat
Description: An usable bash-httpserver with easy configuration and very simple PHP' > ~/simpsh-httpd-pkg/DEBIAN/control
fakeroot dpkg -b ~/simpsh-httpd-pkg ~/simpsh-httpd.deb
rm -rf ~/simpsh-httpd-pkg
rm -rf ~/simpsh-httpd