File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,16 +300,16 @@ configure-bluetooth-headset-profile ACTION="prompt":
300300 fi
301301 if [ " ${OPTION,,}" == " disable" ]; then
302302 if ! [ -f " /etc/wireplumber/wireplumber.conf.d/51-disable-bluetooth-headphone-profile-switch.conf" ]; then
303- mkdir -p " /etc/wireplumber/wireplumber.conf.d/"
304- cp " /usr/share/bluebuild/gidro-os/51-disable-bluetooth-headphone-profile-switch.conf" " /etc/wireplumber/wireplumber.conf.d/51-disable-bluetooth-headphone-profile-switch.conf"
303+ sudo mkdir -p " /etc/wireplumber/wireplumber.conf.d/"
304+ sudo cp " /usr/share/bluebuild/gidro-os/51-disable-bluetooth-headphone-profile-switch.conf" " /etc/wireplumber/wireplumber.conf.d/51-disable-bluetooth-headphone-profile-switch.conf"
305305 systemctl --user restart wireplumber
306306 echo ' Disable Bluetooth headset profile setting applied.'
307307 else
308308 printf " \e [1;31mERROR: Bluetooth headset profile is already disabled, no change is made.\e [0m\n " 1 >&2
309309 fi
310310 elif [ " $OPTION" == " Enable (Default)" ] || [ " ${OPTION,,}" == " enable" ]; then
311311 if [ -f " /etc/wireplumber/wireplumber.conf.d/51-disable-bluetooth-headphone-profile-switch.conf" ]; then
312- rm " /etc/wireplumber/wireplumber.conf.d/51-disable-bluetooth-headphone-profile-switch.conf"
312+ sudo rm " /etc/wireplumber/wireplumber.conf.d/51-disable-bluetooth-headphone-profile-switch.conf"
313313 systemctl --user restart wireplumber
314314 echo ' Reverted setting "Bluetooth headset profile" to defaults.'
315315 else
You can’t perform that action at this time.
0 commit comments