diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-09-12 17:42:15 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-09-12 17:42:15 -0700 |
commit | a533644503936f71eae6e4cbffc96747275ab068 (patch) | |
tree | 1f2ceee84fb1b9278225628d6fe8f6922391a73f | |
parent | 9eb1b8bb756799e1739bca6f964d8a6403982569 (diff) |
check more of the build infrastrcture in
-rw-r--r-- | bin/freeside-debian-releases.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/freeside-debian-releases.sh b/bin/freeside-debian-releases.sh index 7b95bb61b..ed4c00526 100644 --- a/bin/freeside-debian-releases.sh +++ b/bin/freeside-debian-releases.sh @@ -12,7 +12,7 @@ fi DATE=`date +"%Y%m%d"` DIR="/home/autobuild/packages/staging/freeside$FS_VERSION/$FS_REPO" -TARGET="/home/jeremyd/public_html/freeside$FS_VERSION-$DISTRO-$FS_REPO" +TARGET="/home/autobuild/public_html/freeside$FS_VERSION-$DISTRO-$FS_REPO" if [ ! -d "$DIR" -a -d $TARGET ]; then @@ -42,7 +42,11 @@ pdebuild --pbuilderroot sudo --debbuildopts "-b -rfakeroot -uc -us" --buildresul #--buildresult gets the file where it needs to be, may need to clean up DIR -cd $DIR; rm -f freeside_* -cd $TARGET; rm -f *.gz +cd $DIR && rm -f freeside_* +cd $TARGET && rm -f *.gz -$TARGET/APT +apt-ftparchive -qq packages ./ | gzip >Packages.gz +apt-ftparchive -qq sources ./ | gzip >Sources.gz +apt-ftparchive -qq packages ./ | bzip2 >Packages.bz2 +apt-ftparchive -qq sources ./ | bzip2 >Sources.bz2 +apt-ftparchive -qq release ./ >Release |