mirror of
https://github.com/MailScanner/v5.git
synced 2024-11-10 17:35:06 +08:00
copy /folders not /folder/* fix #156
This commit is contained in:
parent
c0dc8d8025
commit
2dd32f38f5
1 changed files with 3 additions and 3 deletions
6
debian/DEBIAN/preinst
vendored
6
debian/DEBIAN/preinst
vendored
|
@ -33,19 +33,19 @@ fi
|
|||
|
||||
if [ -d '/usr/lib/MailScanner/MailScanner/CustomFunctions' ]; then
|
||||
mkdir -p ${SAVEDIR}/usr/lib/MailScanner/MailScanner/CustomFunctions
|
||||
cp -f /usr/lib/MailScanner/MailScanner/CustomFunctions/* ${SAVEDIR}/usr/lib/MailScanner/MailScanner/CustomFunctions
|
||||
cp -rf /usr/lib/MailScanner/MailScanner/CustomFunctions ${SAVEDIR}/usr/lib/MailScanner/MailScanner/
|
||||
rm -rf /usr/lib/MailScanner
|
||||
fi
|
||||
|
||||
if [ -d '/etc/MailScanner/CustomFunctions' ]; then
|
||||
mkdir -p ${SAVEDIR}/etc/MailScanner/CustomFunctions
|
||||
cp -f /etc/MailScanner/CustomFunctions/* ${SAVEDIR}/etc/MailScanner/CustomFunctions
|
||||
cp -rf /etc/MailScanner/CustomFunctions ${SAVEDIR}/etc/MailScanner/
|
||||
rm -rf /etc/MailScanner/CustomFunctions
|
||||
fi
|
||||
|
||||
if [ -d '/etc/MailScanner/Custom' ]; then
|
||||
mkdir -p ${SAVEDIR}/etc/MailScanner/Custom
|
||||
cp -f /etc/MailScanner/Custom/* ${SAVEDIR}/etc/MailScanner/Custom
|
||||
cp -rf /etc/MailScanner/Custom ${SAVEDIR}/etc/MailScanner/
|
||||
rm -rf /etc/MailScanner/Custom
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue