Fix /etc/profile so that the lines added by smartboard packages do
not break scripts using sh (like x2go).
The "smart" scripts run from /etc/profile are written in bash, so
we should not even check for their existence if the shell is not
bash.
Merge pull request #28 from opinsys/smart-profile-fix

Fix smart-package modifications in /etc/profile

/etc/profile modifications done by the smart-xxxxx packages are bash-only which breaks stuff when running /etc/profile with sh (dash). Add a wrapper around the smart stuff to make sure that they are not run for non-bash shells.