Bug 310715 - Software update fails due to removed-files, r=darin

This commit is contained in:
bsmedberg%covad.net 2005-10-03 23:13:01 +00:00
Родитель 42340d8d1f
Коммит 94101ff2f9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -64,7 +64,7 @@ for ((i=0; $i<$num_oldfiles; i=$i+1)); do
patchfile="$workdir/$f.patch.bz2"
patchsize=$(get_file_size "$patchfile")
fullsize=$(get_file_size "$workdir/$f")
if [ $patchsize -lt $fullsize ]; then
if [ $patchsize -lt $fullsize -a "$f" != "removed-files" ]; then
make_patch_instruction "$f" >> $manifest
mv -f "$patchfile" "$workdir/$f.patch"
rm -f "$workdir/$f"