Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a14 #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

a14 #49

wants to merge 1 commit into from

Conversation

Pippo8291
Copy link
Contributor

changes should have no effect on older versions.

only the check if files exist before copying it (er.sh) is overlapping, but should be fine...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok... this may look like A13... maybe could be replace by symlink

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can u test that with a symlink?

er.sh Outdated
@@ -479,8 +479,8 @@ F_SIGPATCH(){
ERR=$?
echo "[$FUNCNAME] Signature spoofing patching ended with $ERR"
echo "[$FUNCNAME] adding signature spoof controller"
cp $PDIR/*-packages-apps-Settings-src-com-android-settings-development-SpoofSignaturePreferenceController.java ${SRC_TOP}/packages/apps/Settings/src/com/android/settings/development/SpoofSignaturePreferenceController.java || exit 3
cp $PDIR/*-packages-apps-Settings-src-com-android-settings-development-SpoofSignatureInfo.java ${SRC_TOP}/packages/apps/Settings/src/com/android/settings/development/SpoofSignatureInfo.java || exit 3
[ -f $PDIR/*-packages-apps-Settings-src-com-android-settings-development-SpoofSignaturePreferenceController.java ] && (cp $PDIR/*-packages-apps-Settings-src-com-android-settings-development-SpoofSignaturePreferenceController.java ${SRC_TOP}/packages/apps/Settings/src/com/android/settings/development/SpoofSignaturePreferenceController.java || exit 3)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you pls use "if...then..fi" for this and the next check? the reason is that otherwise the script will break when the condition is not true. using the if..then..fi will ensure it only ends with false when there is a (real) problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants