Anno domini 2022 Fri, 24 Jun 01:21:53 -0700 Mike Bird scripsit: > On Fri June 24 2022 01:13:33 Stefan Krusche wrote: > > Am Freitag, 24. Juni 2022 schrieb Stefan Krusche: > > > Am Mittwoch, 8. Juni 2022 schrieb Felix Miata: > > > > if [ -x /home/setup ] ; then /home/setup > > > > > > Maybe this is no valid shell syntax because there should be no words > > > after the keyword "then", AFAICT. > > > > No, it is possible to write code after "then", but that should be a > > command, I think. > > It says if /home/setup exists and is executable then execute it. > > Felix reported "Xsetup: line 7: unexpected end of file" because > there was no "fi" to match the "if". should be: if [ -x /home/setup ] ; then /home/setup; fi > > Also /home is not a good place for a random "setup" script. > > --Mike > ____________________________________________________ > tde-devels mailing list -- devels@xxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devels-leave@xxxxxxxxxxxxxxxxxx > Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@xxxxxxxxxxxxxxxxxx > -- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ... ____________________________________________________ tde-devels mailing list -- devels@xxxxxxxxxxxxxxxxxx To unsubscribe send an email to devels-leave@xxxxxxxxxxxxxxxxxx Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@xxxxxxxxxxxxxxxxxx