summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xonce/update.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/once/update.sh b/once/update.sh
index f82cee6..68cd929 100755
--- a/once/update.sh
+++ b/once/update.sh
@@ -35,7 +35,10 @@ for tarball in $tarballs; do
if [ -f /tarballs/$tarball ]; then
pkgsig=$(sha256sum /tarballs/$tarball)
pkgsig=${pkgsig%% *}
- pkgdir=/tarballs/archive/${tarball%%.tar.gz}/$pkgsig/
+ pkgdir=/tarballs/archive/${tarball%%.tar.gz}/
+ mkdir -p $pkgdir
+ printf '%s\n' "$pkgsig" >> ${pkgdir}/pkgsigs.log
+ pkgdir=$pkgdir/$pkgsig/
mkdir -p $pkgdir
mv /tarballs/$tarball $pkgdir
fi