소스 검색

Added Snap WRITABLE_PATH.

Thanks to xet7 !
Lauri Ojansivu 3 년 전
부모
커밋
9f807c59d7
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 0
      snap-src/bin/config
  2. 2 4
      snap-src/bin/mongodb-control

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
snap-src/bin/config


+ 2 - 4
snap-src/bin/mongodb-control

@@ -26,12 +26,10 @@ fi
 
 # Not in use. If uploads directory does not exist, create it.
 # Wekan will store attachments there.
-if [ ! -d "$SNAP_COMMON/wekan-uploads" ]; then
-   mkdir "$SNAP_COMMON/wekan-uploads"
+if [ ! -d "$WRITABLE_PATH" ]; then
+   mkdir "WRITABLE_PATH"
 fi
 
-export WRITABLE_PATH=$SNAP_COMMON/wekan-uploads
-
 # Alternative: When starting MongoDB, and using logfile, truncate log to last 1000 lines of text.
 # 1) If file exists:
 #if test -f "$SNAP_COMMON/mongodb.log"; then

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.