/repo/apps/containing all the apps
/repo/uploads/debWhich has the packages and deb files.
cd apps
find . -name .DS_Store -exec rm {} \;
for app in $( ls -1 . )
do
dpkg -b ${app}
mv *.deb ../upload/deb
done
cd ../upload/
rm Packages.bz2
dpkg-scanpackages . /dev/null > Packages
bzip2 Packages
Script should be placed (in the above example) in:
/repo/

2 comments:
You are amazing! I just started my own repo, but ive had my site: http://theappshare.com for a while. Doing everything manually is a PITA, and this really helps. Thanks!
Post a Comment