From 4196dbf64735a37ff520a386db85d1938a9f8734 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 14 Dec 2014 05:27:44 -0800 Subject: [PATCH] Fix permissions (use root) of the packaged files. --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 566b372..94af192 100644 --- a/makefile +++ b/makefile @@ -32,7 +32,7 @@ WebCycriptLockScreen: LockScreen.mm yieldToSelector.mm makefile ldid -S $@ deb: all - rm -rf package + sudo rm -rf package mkdir -p package/DEBIAN mkdir -p package/Library/MobileSubstrate/DynamicLibraries sed -e 's/%/$(shell cycc -V)/' control.in >package/DEBIAN/control @@ -53,4 +53,6 @@ deb: all cp -a CydgetSettings.bundle package/System/Library/PreferenceBundles/CydgetSettings.bundle cp -a Icon-Small.png package/System/Library/PreferenceBundles/CydgetSettings.bundle/icon.png cp -a SearchResultsCheckmarkClear.png CydgetSettings package/System/Library/PreferenceBundles/CydgetSettings.bundle + sudo chown -R 0 package + sudo chgrp -R 0 package deb=$$(grep ^Package: package/DEBIAN/control | cut -d ' ' -f 2-)_$$(grep ^Version: package/DEBIAN/control | cut -d ' ' -f 2)_iphoneos-arm.deb; dpkg-deb -b package "$$deb"; ln -sfv "$$deb" cydget.deb -- 2.45.2