mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Add a warning when restricted patches are enabled
This commit is contained in:
parent
f122ccb9f1
commit
520dbf246a
2 changed files with 8 additions and 1 deletions
|
@ -15,6 +15,13 @@
|
|||
#You should have received a copy of the GNU General Public License
|
||||
#along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
if [ "$NON_COMMERCIAL_USE_PATCHES" = true ]; then
|
||||
echo -e "\e[0;33mWARNING: YOU HAVE ENABLED PATCHES THAT WHILE OPEN SOURCE ARE ENCUMBERED BY RESTRICTIVE LICENSES\e[0m";
|
||||
echo -e "\e[0;33mPLEASE SEE THE 'LICENSES' FILE AT THE ROOT OF THIS REPOSITORY FOR MORE INFORMATION\e[0m";
|
||||
echo -e "\e[0;33mDISABLE THEM BY SETTING 'NON_COMMERCIAL_USE_PATCHES' TO 'false' IN 'Scripts/*/00init.sh'\e[0m";
|
||||
sleep 15;
|
||||
fi;
|
||||
|
||||
startPatcher() {
|
||||
#$cvePatcher must be set!
|
||||
java -jar $cvePatcher patch $base $androidWorkspace"Patches/" $cveScripts $1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue