From d616ee217869dd33665cb7bbf1091fcdff7b6851 Mon Sep 17 00:00:00 2001 From: Diaz Devera Victor Date: Wed, 24 Dec 2014 04:23:30 -0430 Subject: main/mlocate: add suid to $options --- testing/mlocate/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/mlocate/APKBUILD b/testing/mlocate/APKBUILD index dcb8f6d295..73c87165bf 100644 --- a/testing/mlocate/APKBUILD +++ b/testing/mlocate/APKBUILD @@ -4,11 +4,12 @@ pkgname=mlocate pkgver=0.26 -pkgrel=1 +pkgrel=2 pkgdesc='A utility to index and quickly search for files by name' url='https://fedorahosted.org/mlocate/' arch='all' license='GPL' +options='suid' pkggroups='locate' install="$pkgname.pre-install" makedepends="" @@ -44,8 +45,7 @@ package() { install -Dm644 "$srcdir"/updatedb.conf "$pkgdir"/etc/updatedb.conf install -Dm744 "$srcdir"/updatedb.cron.daily \ "$pkgdir"/etc/periodic/daily/updatedb - - rm "$pkgdir"/usr/lib/charset.alias + rm -rf "${pkgdir}"/usr/lib } md5sums="539e6f86bf387358aa2b14d5f880e49a mlocate-0.26.tar.xz 465315bfa3380a23fae9a383270cb2ec updatedb.conf -- cgit v1.2.3