]> TLD Linux GIT Repositories - packages/pure-ftpd.git/commitdiff
- cleanup, copied too much from other spec
authorMarcin Krol <hawk@tld-linux.org>
Wed, 30 Jan 2019 17:02:11 +0000 (18:02 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 30 Jan 2019 17:02:11 +0000 (18:02 +0100)
pure-ftpd.spec

index fefaafa5d8e3c8f5859663bee1a131ff7096262f..c7071d242b171e0acfd489bda2d4032d54d5b442 100644 (file)
@@ -239,7 +239,6 @@ done
 [ -h /etc/ftpd/pure-ftpd ] && mv /etc/ftpd/pure-ftpd /etc/pure-ftpd 2>/dev/null || :
 [ -d /etc/ftpd/vhosts ] && mv /etc/ftpd/vhosts /etc/pure-ftpd 2>/dev/null || :
 find /etc/pure-ftpd -type f 2>/dev/null | xargs sed -i -e 's|/etc/ftpd|/etc/pure-ftpd|g' 2>/dev/null
-[ -n "$(find /etc/ftpd/conf.d -type d -empty 2>/dev/null)" ] && rmdir /etc/ftpd 2>/dev/null || :
 [ -n "$(find /etc/ftpd -type d -empty 2>/dev/null)" ] && rmdir /etc/ftpd 2>/dev/null || :
 
 %triggerpostun -- %{name} < 1.0.47-6