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/syslinux/update-extlinux | |
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/syslinux/update-extlinux')
-rwxr-xr-x | main/syslinux/update-extlinux | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux index 2de06e259a..157d33529f 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 |