Changeset 646
- Timestamp:
- 08/03/12 10:51:23 (10 months ago)
- File:
-
- 1 edited
-
trunk/pkg/scripts/postinst_sl.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pkg/scripts/postinst_sl.sh
r638 r646 1 1 #!/bin/sh 2 2 3 [[ -f /etc/paths.d/XQuartz ]] && rm /etc/paths.d/XQuartz 4 [[ -f /etc/manpaths.d/XQuartz ]] && rm /etc/manpaths.d/XQuartz 3 if ! cat /etc/sshd_config | grep -v '^#' | grep -q XAuthLocation ; then 4 { 5 echo "" 6 echo "# XAuthLocation added by XQuartz (http://xquartz.macosforge.org)" 7 echo "XAuthLocation /opt/X11/bin/xauth" 8 } >> /etc/sshd_config 9 fi 10 11 if ! cat /etc/ssh_config | grep -v '^#' | grep -q XAuthLocation ; then 12 { 13 echo "" 14 echo "# XAuthLocation added by XQuartz (http://xquartz.macosforge.org)" 15 echo "Host *" 16 echo " XAuthLocation /opt/X11/bin/xauth" 17 } >> /etc/ssh_config 18 fi 19 20 [[ -f /etc/paths.d/XQuartz ]] && rm /etc/paths.d/XQuartz 21 [[ -f /etc/manpaths.d/XQuartz ]] && rm /etc/manpaths.d/XQuartz 5 22 6 23 [[ -d /opt/X11/include/libpng12 ]] && rm -rf /opt/X11/include/libpng12
Note: See TracChangeset
for help on using the changeset viewer.
