diff options
author | Matías Fonzo <selk@dragora.org> | 2020-02-07 15:53:56 -0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-02-10 20:14:51 +0100 |
commit | 410b580b17d06909281c55d6e6f6441a108e0dd9 (patch) | |
tree | 3cf6d40606e6b169acbaa3e4a19eca5f296d49f3 /kicker/extensions | |
parent | 670087710a7af6f1c504db0ff84763cfcf15aed9 (diff) | |
download | tdebase-410b580b17d06909281c55d6e6f6441a108e0dd9.tar.gz tdebase-410b580b17d06909281c55d6e6f6441a108e0dd9.zip |
starttde: Enhance startup script location
It was originally resolved by following the symbolic links to determine
the location of the startup script. Mostly adjusted for Debian
distributions and derivatives that have support for "alternatives".
This doesn't work for distributions that install TDE under a
self-contained directory (distros like Dragora, Guix or simply users
that use Graft or GNU Stow tools). Also projects like GSRC...
This code has been improved to cover these cases, also minimizing the
compatibility impact for the readlink command (non-standard) by
eliminating the use of options for greater compatibility, as some systems
do not have the -e or -f options, as they may also have different behavior
(between systems).
Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit b5f293f9437b4af567248d6cfc269fe8a0216391)
Diffstat (limited to 'kicker/extensions')
0 files changed, 0 insertions, 0 deletions