# refracta.freeforums.org

place to talk about refracta

Skip to content

Welcome
Welcome to refracta You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

## Accumulating package list directories on iso

Refracta Development, Scripts, etc.
Post a reply
1 post • Page 1 of 1

### Accumulating package list directories on iso

by fsmithred » 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: Select all
  `if [[ -d "$work_dir"/iso/"$dir_prefix"* ]] ; then
  rm -r "$work_dir"/iso/"$dir_prefix"*
  fi`

to:

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

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

Top

Post a reply
1 post • Page 1 of 1

Return to Discuss

Jump to:

### Who is online

Users browsing this forum: No registered users and 0 guests

Donate Now
ProNight Style by ModphpBB3
Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
A Member of the Crowdgather Forum Community
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
Report Violation
suspicion-preferred