diff options
author | Markus Goetz <markus@woboq.com> | 2014-11-17 19:48:29 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2014-11-17 19:48:29 +0300 |
commit | 7ada625161fbc9aff9ff6d78af1e47216e1a6bec (patch) | |
tree | 73d8cc8b507f381db2738541da12eb63a573ab51 /OWNCLOUD.cmake | |
parent | 7d8dd54b1976c7df99963f031f5e2e0b4629564e (diff) |
OS X: Fix packages file
Diffstat (limited to 'OWNCLOUD.cmake')
-rw-r--r-- | OWNCLOUD.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OWNCLOUD.cmake b/OWNCLOUD.cmake index c17834c69..98ee75e0b 100644 --- a/OWNCLOUD.cmake +++ b/OWNCLOUD.cmake @@ -10,3 +10,12 @@ set( APPLICATION_REV_DOMAIN "com.owncloud.desktopclient" ) set( WIN_SETUP_BITMAP_PATH "${CMAKE_SOURCE_DIR}/admin/win/nsi" ) # set( THEME_INCLUDE "${OEM_THEME_DIR}/mytheme.h" ) # set( APPLICATION_LICENSE "${OEM_THEME_DIR}/license.txt ) + + +# please ignore the 5 lines below this +# need this logic to not mess with re/uninstallations via macosx.pkgproj +if(${APPLICATION_REV_DOMAIN} STREQUAL "com.owncloud.desktopclient") + set(APPLICATION_REV_DOMAIN_INSTALLER "com.ownCloud.client") +else() +set(APPLICATION_REV_DOMAIN_INSTALLER ${APPLICATION_REV_DOMAIN}) +endif()
\ No newline at end of file |