Package: libcifpp-data
Version: 5.0.5-5
Severity: normal

Dear Maintainer,

Here is the output:

Setting up libcifpp-data (5.0.5-5) ...
/etc/cron.weekly/update-libcifpp-data: 9: Syntax error: "then" unexpected
dpkg: error processing package libcifpp-data (--configure):
 installed libcifpp-data package post-installation script subprocess returned 
error exit status 2


This script contains a duplicated 'then' directive:

     8  if [ "${euid}" -ne 0 ] ; then
     9          then echo "Please run as root"
    10          exit
    11  fi

Moreover, I suspect some bashism in it, am I wrong?

Regards,
Patrice

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-2-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libcifpp-data depends on:
ii  debconf [debconf-2.0]  1.5.81

libcifpp-data recommends no packages.

libcifpp-data suggests no packages.

-- debconf information:
* libcifpp/update:

Reply via email to