Explorar o código

Add post-install configuration of symlink

Joshua Boniface %!s(int64=6) %!d(string=hai) anos
pai
achega
22fdf4afeb
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      debian/postinst

+ 3 - 2
debian/postinst

@@ -37,10 +37,11 @@ case "$1" in
     # ensure jellyfin binary has appropriate permissions
     chmod 755 /usr/bin/jellyfin
 
-    /usr/bin/mono --aot=full -O=all $JELLYFIN_BIN > /dev/null 2>&1 || true
-
     chmod +x ${JELLYFIN_DIR}/restart.sh > /dev/null 2>&1 || true
 
+    # Link hardcoded /var/lib/emby to /var/lib/jellyfin (TEMPORARY)
+    ln -sf /var/lib/jellyfin /var/lib/emby
+
     ;;
     abort-upgrade|abort-remove|abort-deconfigure)
     ;;