Skip to content

Commit 9b3113a

Browse files
authored
1 parent 71c4626 commit 9b3113a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

common/install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ POLS="$(find /system /vendor -type f -name "*audio_*policy*.conf" -o -name "*aud
3131
UPCS="$(find /system /vendor -type f -name "usb_audio_policy_configuration.xml")"
3232
APS="$(find /system /vendor -type f -name "*audio_*policy*.conf")"
3333
CFGS="$(find /system /vendor -type f -name "*audio_effects*.conf" -o -name "*audio_effects*.xml")"
34-
if [ -d "$NVBASE/modules/nhr" ]; then
34+
if [ -d "/data/adb/modules/nhr" ]; then
3535
ui_print " "
3636
ui_print "! Old Notification Helper Remover detected! Removing..."
37-
touch $NVBASE/modules/nhr/remove
37+
touch /data/adb/modules/nhr/remove
3838
fi
39-
if [ -d "$NVBASE/modules/upp" ]; then
39+
if [ -d "/data/adb/modules/upp" ]; then
4040
ui_print " "
4141
ui_print "! Old USB Policy Patcher detected! Removing..."
42-
touch $NVBASE/modules/upp/remove
42+
touch /data/adb/modules/upp/remove
4343
fi
4444

4545
# Tell user aml is needed if applicable
46-
FILES=$(find $NVBASE/modules/*/system $MODULEROOT/*/system -type f -name "usb_audio_policy_configuration.xml" -o -name "*audio_*policy*.conf" -o -name "*audio_effects*.conf" -o -name "*audio_effects*.xml" 2>/dev/null)
46+
FILES=$(find /data/adb/modules/*/system $MODULEROOT/*/system -type f -name "usb_audio_policy_configuration.xml" -o -name "*audio_*policy*.conf" -o -name "*audio_effects*.conf" -o -name "*audio_effects*.xml" 2>/dev/null)
4747
if [ ! -z "$FILES" ] && [ ! "$(echo $FILES | grep '/aml/')" ]; then
4848
ui_print " "
4949
ui_print " ! Conflicting audio mod found!"

0 commit comments

Comments
 (0)