[Pkg-owncloud-commits] [owncloud-client] 54/219: OS X: Create tbz in create_mac_pkg.sh
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 7da8a5e374ba1b7fe7a61625d89fdcec896415a8
Author: Markus Goetz <markus at woboq.com>
Date: Tue Sep 2 12:15:11 2014 +0200
OS X: Create tbz in create_mac_pkg.sh
Sparkle needs this
---
admin/osx/create_mac_pkg.sh.cmake | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/admin/osx/create_mac_pkg.sh.cmake b/admin/osx/create_mac_pkg.sh.cmake
index 7df6904..bb04c6d 100755
--- a/admin/osx/create_mac_pkg.sh.cmake
+++ b/admin/osx/create_mac_pkg.sh.cmake
@@ -22,6 +22,9 @@ prjfile=$build_path/admin/osx/macosx.pkgproj
# The name of the installer package
installer="ownCloud- at MIRALL_VERSION_FULL@@MIRALL_VERSION_SUFFIX@"
installer_file="$installer.pkg"
+installer_file_tar="$installer.pkg.tar"
+installer_file_tar_bz2="$installer.pkg.tar.bz2"
+installer_file_tbz="$installer.pkg.tbz"
# set the installer name to the copied prj config file
/usr/local/bin/packagesutil --file $prjfile set project name "$installer"
@@ -45,3 +48,18 @@ fi
# productsign --cert $certname admin/$installer ./$installer
# FIXME: OEMs?
+
+
+
+# Sparkle wants a tbz, it cannot install raw pkg
+cd $install_path
+tar cf $installer_file_tar $installer_file
+bzip2 -9 $installer_file_tar
+mv $installer_file_tar_bz2 $installer_file_tbz
+rc=$?
+if [ $rc == 0 ]; then
+ echo "Successfully created $installer_file"
+else
+ echo "Failed to create $installer_file"
+ exit 3
+fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list