diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-08-16 14:14:34 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-08-16 14:14:34 +0200 |
commit | 5fa1331e0949f4cbdc6cbe0a6946e3fd185979b7 (patch) | |
tree | 2d01f6ff82c7b392d4f0badd61ffa8290becbfc1 /cron-jobs | |
parent | e2767004a5f8796aee00ad7f44d561c4a959341b (diff) | |
download | dbscripts-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 'cron-jobs')
0 files changed, 0 insertions, 0 deletions