projects/aports·blob master · refs

42 lines · 1.8 KiB

1From: Jakub Jirutka <[email protected]>
2Date: Wed, 26 Nov 2025 17:47:47 +0100
3Subject: [PATCH] Replace /usr/lib64 with /usr/lib
4
5diff --git a/init/ipfixprobed b/init/ipfixprobed
6index d0d03c5..020bc94 100755
7--- a/init/ipfixprobed
8+++ b/init/ipfixprobed
9@@ -3,7 +3,7 @@
10 # Parameter Description:
11 # $1: Configuration file (mandatory parameter)
12 # $2: Optional parameter that specifies the path to the ipfixprobe library directory.
13-# If this parameter is not provided, the default value "/usr/lib64/ipfixprobe" will be used.
14+# If this parameter is not provided, the default value "/usr/lib/ipfixprobe" will be used.
15
16 CONFFILE="/etc/ipfixprobe/$1.conf"
17
18@@ -14,13 +14,13 @@ show_help() {
19 echo "CONFIG_NAME: Name of the configuration file (without the '.conf' extension)."
20 echo " The full path will be '/etc/ipfixprobe/[CONFIG_NAME].conf'."
21 echo "LIBRARY_PATH: Optional path to the ipfixprobe library directory."
22- echo " If not provided, the default value '/usr/lib64/ipfixprobe' will be used."
23+ echo " If not provided, the default value '/usr/lib/ipfixprobe' will be used."
24 echo ""
25 echo "Example 1: Use the default library path:"
26 echo " $0 [name]"
27 echo ""
28 echo "Example 2: Specify a custom library path:"
29- echo " $0 [name] /usr/local/lib64/ipfixprobe"
30+ echo " $0 [name] /usr/local/lib/ipfixprobe"
31 echo ""
32 }
33
34@@ -174,7 +174,7 @@ if [ -e "$CONFFILE" ]; then
35 echo "Please transition to the new YAML configuration format. For more details, visit: https://github.com/CESNET/ipfixprobe/blob/master/init/link0.conf.example"
36 parse_old_format
37 else
38- IPFIXPROBE_LIB_DIR="${2:-/usr/lib64/ipfixprobe}"
39+ IPFIXPROBE_LIB_DIR="${2:-/usr/lib/ipfixprobe}"
40 command=$(python3 $IPFIXPROBE_LIB_DIR/config2args.py --config $CONFFILE --schema $IPFIXPROBE_LIB_DIR/schema.json)
41 status=$?
42