Skip to content

Conversation

@jreidinger
Copy link
Member

No description provided.

elsif RAR_REGEXPS.any? { |r| archive =~ r }
Cheetah.run("unrar", "x", archive, file)
else
raise "Should not happen :)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not be that sure 😉

result
ensure
if temp_dir
Cheetah.run("rm", "-rf", file)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not FileUtils.rm_rf ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, original intention was logging, but probably not so important. So FileUtils can be used.

@dgdavid
Copy link
Member

dgdavid commented Sep 11, 2023

@jreidinger

Do you feel this still needed? If not, I'd close it and maybe move the idea to the new tool for Agama (internal link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants