TEST=`stat -c %F "$FPATH"`
if [ "$TEST" = "symbolic link" ]; then
FPATH=`stat -c %N "$FPATH" | cut -f3 -d '\`'`
This is exactly the solution to something i am currently working on. The LazY Puppy Run-Script-GUI (Starter) shows only symbolic links to the Run-Scripts in a different directory. I do use this now to remove these symbolic links and its Run-Scripts (including the directory) from within the Run-Script-GUI.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum