mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Update mkdeb.sh
This commit is contained in:
parent
8d116aaac8
commit
348682f157
1 changed files with 6 additions and 0 deletions
6
mkdeb.sh
6
mkdeb.sh
|
@ -1,11 +1,15 @@
|
|||
# Change to users home
|
||||
cd
|
||||
|
||||
# Clone the repository
|
||||
git clone https://github.com/niansa/simpsh-httpd.git
|
||||
|
||||
# Make the mkpackage script executable
|
||||
chmod +x ./simpsh-httpd/mkpackage.sh
|
||||
|
||||
# Call package-generator script
|
||||
./simpsh-httpd/mkpackage.sh ~/simpsh-httpd/ ~/simpsh-httpd-pkg/
|
||||
|
||||
# Create Package info
|
||||
mkdir ~/simpsh-httpd-pkg/DEBIAN
|
||||
echo 'Package: simpsh-httpd
|
||||
|
@ -15,8 +19,10 @@ Priority: extra
|
|||
Architecture: all
|
||||
Depends: bash, socat
|
||||
Description: An usable bash-httpserver with easy configuration and very simple PHP' > ~/simpsh-httpd-pkg/DEBIAN/control
|
||||
|
||||
# Build package
|
||||
fakeroot dpkg -b ~/simpsh-httpd-pkg ~/simpsh-httpd.deb
|
||||
|
||||
# Clean up
|
||||
rm -rf ~/simpsh-httpd-pkg
|
||||
rm -rf ~/simpsh-httpd
|
||||
|
|
Loading…
Add table
Reference in a new issue