Update restore.sh

This commit is contained in:
LukeZGD 2024-08-26 00:31:50 +08:00
parent ba234ba1a3
commit a8bd9d39ee

View File

@ -343,7 +343,7 @@ set_tool_paths() {
prepare_udev_rules() { prepare_udev_rules() {
local owner="$1" local owner="$1"
local group="$2" local group="$2"
echo "ACTION==\"add\", SUBSYSTEM==\"usb\", ATTR{idVendor}==\"05ac\", ATTR{idProduct}==\"122[27]|128[0-3]|1338\", OWNER=\"$owner\", GROUP=\"$group\", MODE=\"0660\" TAG+=\"uaccess\"" >> 39-libirecovery.rules echo "ACTION==\"add\", SUBSYSTEM==\"usb\", ATTR{idVendor}==\"05ac\", ATTR{idProduct}==\"122[27]|128[0-3]|1338\", OWNER=\"$owner\", GROUP=\"$group\", MODE=\"0660\" TAG+=\"uaccess\"" > 39-libirecovery.rules
} }
install_depends() { install_depends() {