From 021b4ecf0125483e66f7252c6974827790fbf083 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Fri, 10 Jun 2016 00:48:18 +0900 Subject: [PATCH] update --- l2tp.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/l2tp.sh b/l2tp.sh index 69f4f33..ddf58c2 100644 --- a/l2tp.sh +++ b/l2tp.sh @@ -331,11 +331,11 @@ compile_install(){ make && make install if [ $? -eq 0 ]; then if is_64bit;then - ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5 - ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5 + ln -sf /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5 + ln -sf /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5 else - ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5 - ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5 + ln -sf /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5 + ln -sf /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5 fi else echo "libevent2 install failed..."