Diff

Differences From Artifact [88d46e0f28]:

To Artifact [f1041debf1]:


   316    316   
   317    317   			cp -rp * "${appdir}"
   318    318   			find "${appdir}" -print0 | xargs -0 touch -t "${pkgdate}"
   319    319   			find "${appdir}" -print0 | xargs -0 touch -m -t "${pkgdate}"
   320    320   			find "${appdir}" -print0 | xargs -0 touch -a -t "${pkgdate}"
   321    321   			;;
   322    322   		archive)
   323         -			archivefile="${scriptdir}/${pkg}-${version}-$(echo "${pkgdate}" | sed 's@\.@@g')-${domain}.cpio"
          323  +			archivefile="${scriptdir}/${pkg}-${version}-$(echo "${pkgdate}" | sed 's@\.@@g')-${os}-${arch}-${domain}.cpio"
   324    324   			cd "${destdir}/${prefix}/../../.." || exit 1
   325    325   			find "${prefixsuffix}" -print0 | xargs -0 touch -t "${pkgdate}"
   326    326   			find "${prefixsuffix}" -print0 | xargs -0 touch -m -t "${pkgdate}"
   327    327   			find "${prefixsuffix}" -print0 | xargs -0 touch -a -t "${pkgdate}"
   328    328   			find "${prefixsuffix}" | sort | cpio --owner 0:0 -H newc -o > "${archivefile}"
   329    329   			;;
   330    330   	esac
   331    331   ) || die 'final installation failed'
   332    332   
   333    333   cleanup
   334    334   
   335    335   exit 0