Refracta Development, Scripts, etc.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Accumulating package list directories on iso

Sun Oct 19, 2014 12:48 am

Something must have changed in bash. The code in refractasnapshot to remove old package list directories from the work directory stopped working, so if you've set save_work to "yes" then the old package lists don't get deleted.
At line 457 of refractasnapshot and line 586 of refractasnapshot-gui, change:

Code:
  `if [[ -d "$work_dir"/iso/"$dir_prefix"* ]] ; then
  rm -r "$work_dir"/iso/"$dir_prefix"*
  fi`

to:

Code:
  `for dir in "$work_dir"/iso/"$dir_prefix"* ; do
  rm -r "$dir"
  done`

Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.