Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sm/sm
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Jul 30, 2012
2 parents a79fb9c + b76dd3c commit 2df18cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/internal/shell/package/strategies/gnu/functions
Expand Up @@ -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
Expand Down

0 comments on commit 2df18cb

Please sign in to comment.