This commit is contained in:
milisarge 2017-06-28 15:13:08 +03:00
parent 1b11d2112f
commit 9f1af11359
1 changed files with 8 additions and 2 deletions

View File

@ -594,10 +594,16 @@ add_meta_files() {
if [ -f $PKGMK_ROOT/${NAME}.kos-kur ]; then
cp $PKGMK_ROOT/${NAME}.kos-kur .PRE
fi
if [ -f $PKGMK_ROOT/${NAME}.kos-sil ]; then
cp $PKGMK_ROOT/${NAME}.kos-sil .PRES
fi
if [ -f $PKGMK_ROOT/${NAME}.kur-kos ]; then
cp $PKGMK_ROOT/${NAME}.kur-kos .POST
fi
for file in .README .PRE .POST; do
if [ -f $PKGMK_ROOT/${NAME}.sil-kos ]; then
cp $PKGMK_ROOT/${NAME}.sil-kos .POSTS
fi
for file in .README .PRE .POST .PRES .POSTS; do
if [ -f $file ]; then
bsdtar -r -f $PAKETLEME_DIZIN/$1 \
$file
@ -685,7 +691,7 @@ add_meta_to_archive() {
rm $PAKETLEME_DIZIN/$1
for file in .META .MTREE .README .PRE .POST .INFO; do
for file in .META .MTREE .README .PRE .POST .PRES .POSTS .INFO; do
if [ -f $file ]; then
bsdtar -r -f $PAKETLEME_DIZIN/$1 \
$file