X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F90-update-alternatives;h=5dc1c675ccaa7672ec7e100b133f1ea18c5696e4;hp=67f0998aedc90fba390ecbfd7edcaf065febe15e;hb=83664726695f497760dea17062eec3f5613ec9c5;hpb=0bf00343d2e133d2b31b27a82426716cfa4c112a diff --git a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives index 67f0998..5dc1c67 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives +++ b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives @@ -42,7 +42,7 @@ if [ -r $target/etc/X11/cursors/whiteglass.theme ] ; then $ROOTCMD update-alternatives --set x-cursor-theme /etc/X11/cursors/whiteglass.theme fi -if [ -r $target/usr/bin/iceweasel ] ; then +if [ -r $target/usr/bin/iceweasel ] || [ -L $target/usr/bin/iceweasel ] ; then $ROOTCMD update-alternatives --set x-www-browser /usr/bin/iceweasel fi @@ -57,5 +57,11 @@ if [ -r $target/usr/bin/wm-ng ] ; then fi fi +# sadly isn't available via update-alternates, anyway - use +# ntfs-3g (if available) as default for ntfs +if [ -r $target/sbin/mount.ntfs-3g ] || [ -L $target/sbin/mount.ntfs-3g ] ; then + $ROOTCMD ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs +fi + ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3