Format for property files in ezjail archive now changed to use - as seperator.
This commit is contained in:
parent
33c42bb8ce
commit
b4889a5d6b
@ -840,8 +840,8 @@ archive)
|
||||
cd "${ezjail_rootdir}" || exerr "Error: can't cd to ${ezjail_root}."
|
||||
pax -wXtz -x ustar ${ezjail_archive_opt} \
|
||||
-s:"^[^\\.].*/ezjail\\.conf\$":ezjail.conf: \
|
||||
-s:"^[^\\.].*/${ezjail_safename}\$":prop.ezjail_${ezjail_archive_tag}: \
|
||||
-s:"^[^\\.].*/${ezjail_safename}.norun\$":prop.ezjail_${ezjail_archive_tag}.norun: \
|
||||
-s:"^[^\\.].*/${ezjail_safename}\$":prop.ezjail-${ezjail_archive_tag}: \
|
||||
-s:"^[^\\.].*/${ezjail_safename}.norun\$":prop.ezjail-${ezjail_archive_tag}.norun: \
|
||||
-s:"etc/fstab.${ezjail_safename}\$":fstab.ezjail: \
|
||||
-s:"^\\.":ezjail: \
|
||||
"/etc/fstab.${ezjail_safename}" "${ezjail_config}" "${ezjail_etc}/ezjail.conf" . 2> /dev/null
|
||||
@ -899,6 +899,8 @@ restore)
|
||||
ezjail_nameprop=`tar tzf ${ezjail_fromarchive} --fast-read prop.ezjail_\*`
|
||||
[ $? -eq 0 -a "${ezjail_nameprop}" ] || exerr "Error: File ${ezjail_fromarchive} is not an ezjail archive."
|
||||
|
||||
echo "${ezjail_nameprop}"
|
||||
|
||||
|
||||
shift 1
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user