File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -285,10 +285,10 @@ done
285
285
286
286
# remove old files from old package that not exist in new package
287
287
if [ " $UPGRADE_PKG " ] || [ " $REINSTALL_PKG " ]; then
288
- rmlist_file=" $SCRATCHPKG_DIR /.rmlist_file"
289
- rmlist_dir=" $SCRATCHPKG_DIR /.rmlist_dir"
290
- reserve_dir=" $SCRATCHPKG_DIR /.reserve_dir"
291
- rmlist_all=" $SCRATCHPKG_DIR /.rmlist_all"
288
+ rmlist_file=" $ROOT_DIR / $ SCRATCHPKG_DIR /.rmlist_file"
289
+ rmlist_dir=" $ROOT_DIR / $ SCRATCHPKG_DIR /.rmlist_dir"
290
+ reserve_dir=" $ROOT_DIR / $ SCRATCHPKG_DIR /.reserve_dir"
291
+ rmlist_all=" $ROOT_DIR / $ SCRATCHPKG_DIR /.rmlist_all"
292
292
grep ' /$' $ROOT_DIR /$INDEX_DIR /* /.files \
293
293
| grep -v $ROOT_DIR /$INDEX_DIR /$name /.files \
294
294
| awk -F : ' {print $2}' \
Original file line number Diff line number Diff line change @@ -159,10 +159,10 @@ if [ -z "$name" ] && [ -z "$version" ] && [ -z "$release" ]; then
159
159
fi
160
160
161
161
# create list for reserve and remove (dirs and files)
162
- reserve=" $SCRATCHPKG_DIR /.pkgdel_reserve"
163
- remove=" $SCRATCHPKG_DIR /.pkgdel_remove"
164
- dirs=" $SCRATCHPKG_DIR /.pkgdel_dirs"
165
- files=" $SCRATCHPKG_DIR /.pkgdel_files"
162
+ reserve=" $ROOT_DIR / $ SCRATCHPKG_DIR /.pkgdel_reserve"
163
+ remove=" $ROOT_DIR / $ SCRATCHPKG_DIR /.pkgdel_remove"
164
+ dirs=" $ROOT_DIR / $ SCRATCHPKG_DIR /.pkgdel_dirs"
165
+ files=" $ROOT_DIR / $ SCRATCHPKG_DIR /.pkgdel_files"
166
166
167
167
grep ' /$' $ROOT_DIR /$INDEX_DIR /* /.files \
168
168
| grep -v " $ROOT_DIR /$INDEX_DIR /$name " \
You can’t perform that action at this time.
0 commit comments