Created
May 3, 2019 19:25
-
-
Save CreatureSurvive/abba1c21d9d74ba9b5e2b700cd9ea985 to your computer and use it in GitHub Desktop.
Example of using DPKG to generate a deb, and update a Packages file for a repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# if your on ios, run this as root | |
# cd to your repo directory first eg: `cd /path/to/my/repo/` | |
# your project folder is the folder containing your DEBIAN folder | |
#build debs | |
echo building | |
dpkg-deb -b /path/to/project/folder debs | |
#packages | |
echo building Packages | |
dpkg-scanpackages -m . /dev/null >Packages | |
#compress | |
echo compressing Packages | |
bzip2 -fks Packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment