summaryrefslogtreecommitdiff
path: root/sysutils/bacula-server/files/patch-src__cats__install-default-backend.in
blob: fa36a565626dbdf02102de3865a54384de6d6542 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- ./src/cats/install-default-backend.in.orig	2011-11-26 18:08:12.000000000 +0400
+++ ./src/cats/install-default-backend.in	2011-12-03 13:27:09.000000000 +0400
@@ -22,19 +22,19 @@
    exit 1
 fi
 
-if [ -f ${install_dir}/libbaccats-${default_backend}-${library_version}${SHLIB_EXT} ]; then
+if [ -f ${install_dir}/libbaccats-${default_backend}${SHLIB_EXT}.5 ]; then
    #
    # Create a default catalog library pointing to one of the shared libs.
    #
-   rm -f ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
+   rm -f ${install_dir}/libbaccats${SHLIB_EXT}.5
 
    #
    # Create a relative symlink to the default backend
    # As all backends are in the same directory anyhow this should
    # always work.
    #
-   ln -s libbaccats-${default_backend}-${library_version}${SHLIB_EXT} \
-         ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
+   ln -s libbaccats-${default_backend}${SHLIB_EXT}.5 \
+         ${install_dir}/libbaccats${SHLIB_EXT}.5
 fi
 
 exit 0