summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2009-08-16 14:14:34 +0200
committerThomas Bächler <thomas@archlinux.org>2009-08-16 14:14:34 +0200
commit5fa1331e0949f4cbdc6cbe0a6946e3fd185979b7 (patch)
tree2d01f6ff82c7b392d4f0badd61ffa8290becbfc1 /db-functions
parente2767004a5f8796aee00ad7f44d561c4a959341b (diff)
downloaddbscripts-5fa1331e0949f4cbdc6cbe0a6946e3fd185979b7.tar.gz
dbscripts-5fa1331e0949f4cbdc6cbe0a6946e3fd185979b7.tar.xz
Avoid confusing messages and potential problems when no packages are present
If no packages are present in the repository, a message like this will be generated, and the corresponding mv command will be issued. Prevent this by checking if *$arch$PKGEXT equals "*$arch$PKGEXT": Scan complete for core (i686) at /srv/ftp/core/os/i686 The following files are in the repo but not the db They will be moved to '/srv/package-cleanup' *i686.pkg.tar.gz
Diffstat (limited to 'db-functions')
0 files changed, 0 insertions, 0 deletions