On 2/11/26 11:50 PM, Andrew Randrianasulu wrote:
Terje, if you replace single [ with two [[ in this suse section of script like this
- if [ ! -f /usr/lib64/libtermcap.so && ! -L /usr/lib64/libtermcap.so ]; then + if [[ ! -f /usr/lib64/libtermcap.so && ! -L /usr/lib64/libtermcap.so ]]; then
will it run zupper line as it should ?
I only tested this on Slackware 15.0 with bash 5.3
Yes, as with commented out # line 79-82, avoided the claimed line 79: [: missing `]' but it didn't seem to complete the package installation. However I possibly have found an installation syntax error in the "bld_prepare suse" script: I changed the order from "zypper -n install" to "zypper in -n" <exact package names> and ran this install command and package list manually. Resolving package dependencies... 2 Problems: Problem: 1: the installed libjpeg62-devel-62.4.0-82.1.x86_64 conflicts with 'libjpeg-devel' provided by the to be installed libjpeg8-devel-8.3.2-82.1.x86_64 Problem: 2: the installed zlib-ng-compat-devel-2.3.2-1.1.x86_64 conflicts with 'zlib-devel' provided by the to be installed zlib-devel-1.3.1-1.3.x86_64 Problem: 1: the installed libjpeg62-devel-62.4.0-82.1.x86_64 conflicts with 'libjpeg-devel' provided by the to be installed libjpeg8-devel-8.3.2-82.1.x86_64 Solution 1: deinstallation of libjpeg62-devel-62.4.0-82.1.x86_64 Solution 2: do not install libjpeg8-devel-8.3.2-82.1.x86_64 Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 1 Problem: 2: the installed zlib-ng-compat-devel-2.3.2-1.1.x86_64 conflicts with 'zlib-devel' provided by the to be installed zlib-devel-1.3.1-1.3.x86_64 Solution 1: deinstallation of zlib-ng-compat-devel-2.3.2-1.1.x86_64 Solution 2: do not install zlib-devel-1.3.1-1.3.x86_64 Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 1 Resolving dependencies... Resolving package dependencies... 2105 new packages to install, 2 to remove. Package download size: 847.1 MiB .... a lot of libs, perl, texlive etc were installed ------------ Afterwards I edited the bld_prepare.sh to this syntax and re-ran it ..........snip No update candidate for 'nasm-2.16.03-1.3.x86_64'. The highest available version is already installed. Package 'ilmbase-devel' not found. 'libdv-devel' is already installed. No update candidate for 'libdv-devel-1.0.0-180.3.x86_64'. The highest available version is already installed. 'libdvdnav-devel' is already installed. No update candidate for 'libdvdnav-devel-6.1.1-1.13.x86_64'. The highest available version is already installed. 'libdvdread-devel' is already installed. No update candidate for 'libdvdread-devel-6.1.3-1.10.x86_64'. The highest available version is already installed. 'libiec61883-devel' is already installed. No update candidate for 'libiec61883-devel-1.2.0-9.1.x86_64'. The highest available version is already installed. 'libtheora-devel' is already installed. No update candidate for 'libtheora-devel-1.2.0-2.1.x86_64'. The highest available version is already installed. Package 'lzma-devel' not found. Package 'freetype-devel' not found. Resolving package dependencies... Nothing to do.