projects
/
apt-repository.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8312b45
)
apt-repository: Fix regen script to actually work.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 9 Oct 2008 13:18:14 +0000
(15:18 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 9 Oct 2008 13:18:14 +0000
(15:18 +0200)
regen
patch
|
blob
|
history
diff --git
a/regen
b/regen
index ad8852714abfcf8994fe02f4418e5022279dabcd..cc14511ac40a7a9d7999eb727918185b5a52bcba 100755
(executable)
--- a/
regen
+++ b/
regen
@@
-4,22
+4,23
@@
# and
# http://blogs.cae.tntech.edu/mwr/2007/05/28/my-own-private-debian-repository/
# and
# http://blogs.cae.tntech.edu/mwr/2007/05/28/my-own-private-debian-repository/
-DISTS=
public/dists/stderr
-SECTIONS=
main
-ARCHS=
i386 all
-CACHE=
cache
+DISTS=
"public/dists/stderr"
+SECTIONS=
"main"
+ARCHS=
"i386 all"
+CACHE=
"cache"
# This dir should contain a private keyring with an appropriate key
# This dir should contain a private keyring with an appropriate key
-GPG_HOME=
gnupg
+GPG_HOME=
"gnupg"
# Create cache directory
mkdir -p $CACHE
# Create target directories
# Create cache directory
mkdir -p $CACHE
# Create target directories
-for
$
DIST in $DISTS; do
- for
$
SECTION in $SECTIONS; do
- for
$
ARCH in $ARCHS; do
- mkdir -p $DIST/$SECTION/$ARCH
+for DIST in $DISTS; do
+ for SECTION in $SECTIONS; do
+ for ARCH in $ARCHS; do
+ mkdir -p $DIST/$SECTION/
binary-
$ARCH
done
done
+ mkdir -p $DIST/$SECTION/source
done
done
done
done
@@
-27,7
+28,7
@@
done
apt-ftparchive generate ftparchive.conf
# Create Release files
apt-ftparchive generate ftparchive.conf
# Create Release files
-for
$
DIST in $DISTS; do
+for DIST in $DISTS; do
apt-ftparchive -c ftparchive.conf release $DIST > $DIST/Release
rm $DIST/Release.gpg
gpg --homedir $GPG_HOME --sign --detach-sign --armor -o $DIST/Release.gpg $DIST/Release
apt-ftparchive -c ftparchive.conf release $DIST > $DIST/Release
rm $DIST/Release.gpg
gpg --homedir $GPG_HOME --sign --detach-sign --armor -o $DIST/Release.gpg $DIST/Release