tzdata: set correct perms to zoneinfo files.
This commit is contained in:
@@ -5,7 +5,7 @@ create_wrksrc=yes
|
|||||||
_tzcode_ver=2012b
|
_tzcode_ver=2012b
|
||||||
_tzdata_ver=2012c
|
_tzdata_ver=2012c
|
||||||
version=${_tzdata_ver}
|
version=${_tzdata_ver}
|
||||||
revision=3
|
revision=4
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
homepage="http://www.iana.org/time-zones"
|
homepage="http://www.iana.org/time-zones"
|
||||||
@@ -29,6 +29,7 @@ post_install() {
|
|||||||
# Remove useless stuff
|
# Remove useless stuff
|
||||||
rm -rf ${DESTDIR}/usr/lib
|
rm -rf ${DESTDIR}/usr/lib
|
||||||
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
|
rm -f ${DESTDIR}/usr/share/zoneinfo/localtime
|
||||||
|
find ${DESTDIR}/usr/share/zoneinfo -type f -exec chmod 644 {} \;
|
||||||
# Remove stuff available in glibc-2.16.
|
# Remove stuff available in glibc-2.16.
|
||||||
rm -f ${DESTDIR}/usr/sbin/zic
|
rm -f ${DESTDIR}/usr/sbin/zic
|
||||||
rm -f ${DESTDIR}/usr/sbin/zdump
|
rm -f ${DESTDIR}/usr/sbin/zdump
|
||||||
|
|||||||
Reference in New Issue
Block a user