# rationale.
SUPPRESSLOCALEDIR=1
+## Build script update checks
+# If this is set to `1' (one) a check is done to see if there is a
+# newer build script available that the pkgusr could update to. If an
+# update is available a message is printed to stdout with instructions
+# of how to proceed.
+#
+# Override this in ~/.pkgusrrc.
+CHECKUPDATES=1
+
### export everything
export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
-export SUPPRESSLOCALEDIR
+export SUPPRESSLOCALEDIR CHECKUPDATES
# Make prompt reflect that we are a package user.
export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "'
# 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
+ checkupdates
+fi
+
# Local variables:
# sh-basic-offset: 4