diff options
author | Matías Fonzo <selk@dragora.org> | 2020-02-07 15:53:56 -0300 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2020-02-10 19:13:05 +0000 |
commit | b5f293f9437b4af567248d6cfc269fe8a0216391 (patch) | |
tree | 6aab3584fd4f2ee54a4991fc1ef9ee043a73b421 /kicker | |
parent | c7474d81e9149da23b9fd95bea74dc33171feb3f (diff) | |
download | tdebase-b5f293f9437b4af567248d6cfc269fe8a0216391.tar.gz tdebase-b5f293f9437b4af567248d6cfc269fe8a0216391.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>
Diffstat (limited to 'kicker')
0 files changed, 0 insertions, 0 deletions