[Bug 975769] Re: ltsp-client-vendor-functions is a broken symlink

Alkis Georgopoulos 975769 at bugs.launchpad.net
Sat Apr 7 20:19:17 UTC 2012


Here's some code for the second idea - run it from ltsp-trunk.
And of course the "echo" needs to be removed if it goes in the packaging:

find . -type l -printf '%p,%l\n' |
    while { IFS=, read symlink target; }; do
        if [ $(stat -c %i "${symlink%/*}/${target%/*}") -eq $(stat -c %i common) ]; then
            echo cp "common/${target##*/}" "$symlink"
        fi
    done

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/975769

Title:
  ltsp-client-vendor-functions is a broken symlink

Status in “ltsp” package in Ubuntu:
  Confirmed

Bug description:
  $ ls -l /usr/share/ltsp/ltsp-client-vendor-functions
  lrwxrwxrwx 1 root root 53 Απρ   3 22:01 /usr/share/ltsp/ltsp-client-vendor-functions -> /server/functions/Debian/ltsp-server-vendor-functions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/975769/+subscriptions




More information about the foundations-bugs mailing list