Skip to content

Commit c6b80e5

Browse files
fix remove for custom distro
1 parent 0c212a4 commit c6b80e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udroid/src/udroid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ custom_remove() {
10771077
local name=$1
10781078
local path=${DEFAULT_FS_INSTALL_DIR}
10791079

1080-
root_fs_path=$path/$name
1080+
root_fs_path=$path/"custom-$name" # custom fs are prefixed with "custom-"
10811081

10821082
[[ -z $name ]] && EDIE "ERROR: distro name not specified"
10831083
[[ ! -d $root_fs_path ]] && EDIE "ERROR: distro ($name) not found or installed"

0 commit comments

Comments
 (0)