create-shortcut: Do not check for the existence of control files

This commit is contained in:
Peter Cai 2023-06-10 14:56:48 -04:00
parent 52faa6c6d7
commit ba0c1dc7ba

View file

@ -9,9 +9,6 @@ assert_prerequisites
image_name="$(relative_path_to_image_name "apps/$1")"
assert_image_exists "$image_name"
[ -f "$script_path/apps/$1/control" ] || \
die "App $1 does not have a control file that defines how to generate a shortcut"
desktop_file_path="$(get_image_label "$image_name" "net.typeblog.dobu.desktop_file_path")"
[ -z "$desktop_file_path" ] && die "App $1 did not specify desktop_file_path in its labels"