...
 
Commits (4)
......@@ -16,12 +16,15 @@ add -`.
Finally, add the following to your `/etc/apt/sources.list`.
```
# Contains packages unique to this repository.
deb https://mel.vin/debian/ buster main contrib non-free
deb-src https://mel.vin/debian/ buster main contrib non-free
# Contains updated packages that exist in official repositories too.
deb https://mel.vin/debian/ buster-updates main contrib non-free
deb-src https://mel.vin/debian/ buster-updates main contrib non-free
# Contains backports unique to this repository or updated offical backports.
deb https://mel.vin/debian/ buster-backports main contrib non-free
deb-src https://mel.vin/debian/ buster-backports main contrib non-free
```
......
#!/bin/sh
for i in /var/cache/pbuilder/result/*.changes; do
head -n 1 "$i" | grep -qe '-----BEGIN PGP SIGNED MESSAGE-----'
if [ $? != 0 ]; then
echo "cannot find pgp signature: $i"
echo "exit"
exit 1
fi
done
for i in /var/cache/pbuilder/result/*.changes; do
dist="$(sed -ne 's/^Distribution: //p' "$i")"
if [ $? != 0 ] || [ ! -n "$dist" ]; then
echo "cannot find distribution: $i"
echo 'skipping file'
continue
fi
echo "add $i to distribution $dist? [Y/n]"
read -r execute
if [ $? != 0 ] || [ -n "$execute" ] && \
[ "$execute" != 'y' ] && [ "$execute" != 'Y' ]; then
echo "answer was not '', 'y' or 'Y': $execute"
echo 'skipping file'
continue
fi
reprepro include "$dist" "$i"
done
#!/bin/sh
sudo rm /var/cache/pbuilder/result/*
#!/bin/sh
debsign --no-re-sign /var/cache/pbuilder/result/*.changes