Create correct perl5 mount directory on Synology DSM

This commit is contained in:
Janek Bevendorff 2014-10-05 18:09:03 +02:00
parent 031c437f5b
commit c68fbedb26
1 changed files with 3 additions and 3 deletions

View File

@ -131,12 +131,12 @@ if [[ $MODE == "install" ]]; then
$MKDIR "$BKP_DIR"/usr/lib
$MKDIR "$BKP_DIR"/usr/share
if [[ "$DISTRIBUTION" == "Synology" ]]; then
$MKDIR "$BKP_DIR"/opt/bin
fi
if [[ "$DISTRIBUTION" == "Ubuntu" ]]; then
$MKDIR "$BKP_DIR"/usr/share/perl
elif [[ "$DISTRIBUTION" == "Synology" ]]; then
$MKDIR "$BKP_DIR"/opt/bin
$MKDIR "$BKP_DIR"/opt/lib/perl5
else
$MKDIR "$BKP_DIR"/usr/share/perl5
fi