• Xavier Chantry's avatar
    pactest: fix gensync · fa933df6
    Xavier Chantry authored
    
    
    gensync generated a sync.db file with PKGINFO syntax, this is not quite what
    pacman expects.
    
    Also the file was only added to the Server path:
    	root/var/pub/sync/sync.db
    but it was not available in the normal sync db path:
    	root/var/lib/pacman/sync/sync.db
    
    Change gensync() to generate var/lib/pacman/sync/sync.db and then copy it to
    var/pub/sync/sync.db (this is used by sync200 -Sy test).
    
    Signed-off-by: default avatarDan McGee <dan@archlinux.org>
    fa933df6