SXEmacs related updates
[pkgusr] / etc / pkgusr / bash_profile
index 52d885e..67ddfab 100644 (file)
@@ -72,8 +72,10 @@ fi
 
 # Go to the home directory whenever we su to a package user.
 cd
-# Maybe check if the build script can be updated.
-if [ ${CHECKUPDATES} -eq 1 ]; then
+
+# Maybe check if the build script can be updated, but not on dumb
+# terms so that TRAMP still works.
+if [ ${CHECKUPDATES} -eq 1 -a "$TERM" != "dumb" ]; then
     checkupdates
 fi