From: Nathan Wagner Date: Sun, 4 Nov 2018 21:39:40 +0000 (+0000) Subject: add link target to dry run output X-Git-Tag: v0.2.16~31 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=5757c77483cec69bb2122142a923040a87270416 add link target to dry run output --- diff --git a/zpm-syncfs.c b/zpm-syncfs.c index 7422ece..06477f1 100644 --- a/zpm-syncfs.c +++ b/zpm-syncfs.c @@ -676,9 +676,13 @@ static int install(struct config *conf, struct nitem *item, unsigned int flags) printf("rmdir %s\n", item->dest); } - printf("install %c%o %d:%d %s\n", item->ftype, + printf("install %c%o %d:%d %s", item->ftype, item->mode, item->uid, item->gid, item->dest); + if (item->ftype == 'l') { + printf(" -> %s", item->target); + } + printf("\n"); fflush(stdout); return success; }