Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 00eab24f6340727ff3827c853a24be44 > scriptlet

samba-common-4.10.8-3.mga7.armv7hl.rpm

POSTIN

/bin/sh
/usr/bin/systemd-tmpfiles --create samba.conf 

if [ -d /var/cache/samba ]; then
    mv /var/cache/samba/netsamlogon_cache.tdb /var/lib/samba/ 2>/dev/null
    mv /var/cache/samba/winbindd_cache.tdb /var/lib/samba/ 2>/dev/null
    rm -rf /var/cache/samba/
    ln -sf /var/cache/samba /var/lib/samba/
fi

### CLIENT