From 9e029de2c6353726de596359af6b42ae65a13f93 Mon Sep 17 00:00:00 2001 From: Breno Leitao Date: Wed, 22 Mar 2017 22:05:17 +0000 Subject: main/ruby: do not fail on file removal With the new abuild version, ruby is not able to build because it tries to remove some files that might not exist, returning error. This patch does not cause rm to fail if the files do not exist. --- main/ruby/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 365a67ef68..d0d5b2fce9 100644 --- a/main/ruby/APKBUILD +++ b/main/ruby/APKBUILD @@ -94,7 +94,7 @@ package() { rm -R "$pkgdir"$_gemdir/cache/* # Remove bundled CA certificates. - rm -R "$pkgdir"$_rubydir/rubygems/ssl_certs/*.pem + rm -R "$pkgdir"$_rubydir/rubygems/ssl_certs/*.pem || true if [ -d "$pkgdir"/usr/local ]; then local f=$(cd "$pkgdir" ; find usr/local -type f) -- cgit v1.2.3