From 424faa52923e9ce3809daf36cc41b9f5629ca9ed Mon Sep 17 00:00:00 2001 From: "Serg V. Zhdanovskih" Date: Mon, 20 Jun 2016 20:32:20 +0500 Subject: [PATCH] Pre-release preparation (5): Debian/Ubuntu package improvement --- deploy/gk2_linux_package.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/deploy/gk2_linux_package.sh b/deploy/gk2_linux_package.sh index e747d6ced..b92fc62fd 100644 --- a/deploy/gk2_linux_package.sh +++ b/deploy/gk2_linux_package.sh @@ -44,8 +44,12 @@ cp -r $DEV_PATH/locales/ ~/$LIB_PATH/ cp -r $DEV_PATH/plugins/ ~/$LIB_PATH/ cp -r $DEV_PATH/scripts/ ~/$LIB_PATH/ -#cd ~/$PACK_PATH -#md5deep -r usr > DEBIAN/md5sums -#cd .. +find $LIB_PATH/locales -type f -exec chmod -x '{}' \; +find $LIB_PATH/plugins -type f -exec chmod -x '{}' \; +find $LIB_PATH/scripts -type f -exec chmod -x '{}' \; + +cd ~/$PACK_PATH +md5deep -r -l usr > DEBIAN/md5sums +cd .. fakeroot dpkg-deb -b ~/$PACK_PATH/ .