blob: 48b2853f2847b9c838cbfd8e8f5bb88422f4b739 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/hint/bash
root_dir="/srv/repo/main"
# distributions
native_distributions=('gnu+linux')
derivative_distributions=('gnu+linux_x86_arch_legacy' 'gnu+linux_arm_arch_legacy')
distributions=("${native_distributions}" "${derivative_distributions}")
# add compability support
source "$(dirname "$(readlink -e "$0")")/etc/dbscripts.d/gnu+linux_x86_arch_legacy.cfg
cleanup_destination_directory="${root_dir}/old/packages"
cleanup_dryrun=false
# Time in days to keep moved packages
cleanup_keep=30
source_cleanup_destination_directory="${root_dir}/old/sources"
source_cleanup_dryrun=true
# Time in days to keep moved sourcepackages
source_cleanup_keep=30
require_signature=true
lock_delay=10
lock_timeout=300
[ -n "${staging_directory:-}" ] || staging_directory="$HOME/staging/unknown/staging"
temporary_directory="/tmp"
database_extension_suffixfile=".db.tar.gz"
files_extension_suffixfile=".files.tar.gz"
package_extension_suffixfile=".pkg.tar.?z"
source_extension_suffixfile=".src.tar.gz"
blacklist_file="$HOME/blacklist/blacklist.txt"
|