浏览代码

Fix TVVLCKit packaging

Felix Paul Kühne 9 年之前
父节点
当前提交
e7977426ce
共有 1 个文件被更改,包括 9 次插入11 次删除
  1. 9 11
      Packaging/create-dmg.sh

+ 9 - 11
Packaging/create-dmg.sh

@@ -79,25 +79,23 @@ root=`dirname $0`/../
 DMGFOLDERNAME="VLCKit - binary package"
 DMGITEMNAME="VLCKit-REPLACEWITHVERSION"
 
-if [ "TV" = "yes" ]; then
+if [ "$MOBILE" = "yes" ]; then
+    if [ "$USEZIP" = "yes" ]; then
+        DMGFOLDERNAME="MobileVLCKit-binary"
+    else
+        DMGFOLDERNAME="MobileVLCKit - binary package"
+    fi
+    DMGITEMNAME="MobileVLCKit-REPLACEWITHVERSION"
+fi
+if [ "$TV" = "yes" ]; then
     if [ "$USEZIP" = "yes" ]; then
         DMGFOLDERNAME="TVVLCKit-binary"
     else
         DMGFOLDERNAME="TVVLCKit - binary package"
     fi
     DMGITEMNAME="TVVLCKit-REPLACEWITHVERSION"
-else
-    if [ "$MOBILE" = "yes" ]; then
-        if [ "$USEZIP" = "yes" ]; then
-            DMGFOLDERNAME="MobileVLCKit-binary"
-        else
-            DMGFOLDERNAME="MobileVLCKit - binary package"
-        fi
-        DMGITEMNAME="MobileVLCKit-REPLACEWITHVERSION"
-    fi
 fi
 
-
 info "checking for distributable binary package"
 
 spushd ${root}