diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-26 14:16:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-26 14:42:28 +0000 |
commit | 8ded1f134b51cdc2229dff4ed5edc5aea041d834 (patch) | |
tree | 1256e2086073e26fe6f96ad151dad8d37d2201ca /main | |
parent | a795740c66e926fb724b527c6bbff3c6f9c18b61 (diff) | |
download | aports-8ded1f134b51cdc2229dff4ed5edc5aea041d834.tar.bz2 aports-8ded1f134b51cdc2229dff4ed5edc5aea041d834.tar.xz |
main/syslinux: set umask in update-exlinux
so extlinux.conf don't end up as world writeable
Diffstat (limited to 'main')
-rw-r--r-- | main/syslinux/APKBUILD | 4 | ||||
-rwxr-xr-x | main/syslinux/update-extlinux | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD index daf06fb52..ba4b1e03d 100644 --- a/main/syslinux/APKBUILD +++ b/main/syslinux/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=syslinux pkgver=4.04 -pkgrel=9 +pkgrel=10 pkgdesc="Boot loader for the Linux operating system" url="http://syslinux.org" arch="x86 x86_64" @@ -38,4 +38,4 @@ package() { md5sums="a3936208767eb7ced65320abe2e33a10 syslinux-4.04.tar.bz2 7ef73a7a858b8aa1ac6635d6391ac8e5 update-extlinux.conf -2206105f11b92971abb768ac0aa2e7d8 update-extlinux" +2414de8196826e20292825d69c75184b update-extlinux" diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux index 2de06e259..157d33529 100755 --- a/main/syslinux/update-extlinux +++ b/main/syslinux/update-extlinux @@ -78,6 +78,8 @@ fi everbose "Installing $syslinux_menu to /boot." cp /usr/share/syslinux/vesamenu.c32 /boot +umask 0022 +rm -f $conf.new echo "# Generated by update-extlinux" > $conf.new echo "DEFAULT $syslinux_menu" >> $conf.new echo "PROMPT 0" >> $conf.new |