This initializes an empty but working repository which can be accessed
by apt-get update without errors.
# reprepro is not installed, it's not necessary for a correct
# installation.
echo 'Initializing repository, errors are ignored.' >&2
# reprepro is not installed, it's not necessary for a correct
# installation.
echo 'Initializing repository, errors are ignored.' >&2
- ( cd "$repo" && reprepro check ) || true
+ ( cd "$repo" && reprepro export ) || true
# Does nothing if the same key is imported multiple times.
echo 'Adding key with apt-key.' >&2
# Does nothing if the same key is imported multiple times.
echo 'Adding key with apt-key.' >&2