1 NSS_FILES="libnspr4.so.0d libplds4.so.0d libplc4.so.0d libssl3.so.1d \
2 libnss3.so.1d libsmime3.so.1d libnssutil3.so.1d"
8 target=$(echo $f | sed 's/\.[01]d$//')
9 if [ -f "/$LIBDIR/$target" ]; then
10 ln -snf "/$LIBDIR/$target" "@@INSTALLDIR@@/$f"
11 elif [ -f "/usr/$LIBDIR/$target" ]; then
12 ln -snf "/usr/$LIBDIR/$target" "@@INSTALLDIR@@/$f"
14 echo $f not found in "/$LIBDIR/$target" or "/usr/$LIBDIR/$target".
20 remove_nss_symlinks() {
23 rm -rf "@@INSTALLDIR@@/$f"
27 # Fedora 18 now has libudev.so.1. http://crbug.com/145160
28 # Same for Ubuntu 13.04. http://crbug.com/226002
29 LIBUDEV_0=libudev.so.0
30 LIBUDEV_1=libudev.so.1
34 if [ -f "/$LIBDIR/$LIBUDEV_0" -o -f "/usr/$LIBDIR/$LIBUDEV_0" -o -f "/lib/$LIBUDEV_0" ]; then
38 if [ -f "/$LIBDIR/$LIBUDEV_1" ]; then
39 ln -snf "/$LIBDIR/$LIBUDEV_1" "@@INSTALLDIR@@/$LIBUDEV_0"
40 elif [ -f "/usr/$LIBDIR/$LIBUDEV_1" ];
42 ln -snf "/usr/$LIBDIR/$LIBUDEV_1" "@@INSTALLDIR@@/$LIBUDEV_0"
44 echo "$LIBUDEV_1" not found in "$LIBDIR" or "/usr/$LIBDIR".
49 remove_udev_symlinks() {
50 rm -rf "@@INSTALLDIR@@/$LIBUDEV_0"