-.TH zpm-merge 8 2019-02-14 "ZPM 0.6"
+.TH zpm-merge 8 2019-02-18 "ZPM 0.6"
.SH NAME
zpm-merge \- copy packages from one database to another
.SH SYNOPSIS
.TP
\-v
increase the verbosity level by one, may be given multiple times
-.B \-vFSauonO
.TP
\-F
Also copy the file content.
# TODO check for symlinks?
if [ $pkgfile != $ZPMDB ]; then
echo merging $pkgfile $pkgid
- zpm merge -Fuv -f "$pkgfile" $pkgid
+ zpm merge -Fu -f "$pkgfile" $pkgid
if [ $? -ne 0 ]; then
die "unable to merge $pkgfile"
fi
struct zpm_package *current_package;
};
+struct zpm_stat {
+ struct stat st;
+ int configuration;
+ char hash[65]; /* length + room for a nul byte */
+ char diskhash[65]; /* hash of actual file on disk */
+ char *target; /* malloced link target */
+};
+
struct zpm_dependency {
char minpkg[ZPM_PACKAGE_ID_MAX+1];
char maxpkg[ZPM_PACKAGE_ID_MAX+1];