LeOS-GSI/LeOS/lineage-sdk_LeOSize.sh

12 lines
941 B
Bash

#!/bin/bash
find lineage/res/res -name strings.xml -exec sed -i -e '/lineageos_system_label/s/LineageOS/LeOS/g' '{}' \;
find lineage/res/res -name strings.xml -exec sed -i -e /permdesc_useHardwareFramework/s/Lineage/LeOS/g {} \;
find lineage/res/res -name strings.xml -exec sed -i -e /permlab_writeSettings/s/Lineage/LeOS/g {} \;
find lineage/res/res -name strings.xml -exec sed -i -e /permdesc_writeSettings/s/Lineage/LeOS/g {} \;
find lineage/res/res -name strings.xml -exec sed -i -e /permlab_writeSecureSettings/s/Lineage/LeOS/g {} \;
find lineage/res/res -name strings.xml -exec sed -i -e /permdesc_writeSecureSettings/s/Lineage/LeOS/g {} \;
find lineage/res/res -name strings.xml -exec sed -i -e /lineage_api_level/s/LineageOS/LeOS/g {} \;
find lineage/res/res -name strings.xml -exec sed -i -e /lineage_updates/s/LineageOS/LeOS/g {} \;
find lineage/res/res -name strings.xml -exec sed -i -e /lineage_version/s/LineageOS/LeOS/g {} \;