Permalink
Browse files

Merge branch 'master' of github.com:sm/sm

  • Loading branch information...
2 parents a79fb9c + b76dd3c commit 2df18cbe8fa69a3d352564ac7ed0106428172f6c @mpapis mpapis committed Jul 30, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 core/internal/shell/package/strategies/gnu/functions
@@ -204,7 +204,9 @@ __sm.package.fetch.checksum()
package_checksum=$(cat "${archives_path}/${package_file}.checksum")
- rm "${archives_path}/${package_file}.checksum"
+ if [[ -f "${archives_path}/${package_file}.checksum" ]]
+ then rm "${archives_path}/${package_file}.checksum"
+ fi
if (( ${#package_checksum} == 32 ))
then

0 comments on commit 2df18cb

Please sign in to comment.