From c68fbedb260ce48bb13efc2ee6a0c5ede7a94ac8 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sun, 5 Oct 2014 18:09:03 +0200 Subject: [PATCH] Create correct perl5 mount directory on Synology DSM --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index d997bdf..ad3811f 100755 --- a/install.sh +++ b/install.sh @@ -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