conf: safer mark file removal

pull/14/head
FriendlyNeighborhoodShane 4 years ago
parent 5a3e8ee0d7
commit e0c34af94f

@ -180,14 +180,13 @@ post_install_actions() {
pre_uninstall_actions() { pre_uninstall_actions() {
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file $init_file"; [ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $mark_file $addond_file $init_file";
return 0; return 0;
} }
post_uninstall_actions() { post_uninstall_actions() {
rm -rf "$root/$mark_file";
return 0; return 0;
} }

@ -180,14 +180,13 @@ post_install_actions() {
pre_uninstall_actions() { pre_uninstall_actions() {
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file $init_file"; [ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $mark_file $addond_file $init_file";
return 0; return 0;
} }
post_uninstall_actions() { post_uninstall_actions() {
rm -rf "$root/$mark_file";
return 0; return 0;
} }

@ -189,14 +189,13 @@ post_install_actions() {
pre_uninstall_actions() { pre_uninstall_actions() {
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file $init_file"; [ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $mark_file $addond_file $init_file";
return 0; return 0;
} }
post_uninstall_actions() { post_uninstall_actions() {
rm -rf "$root/$mark_file";
return 0; return 0;
} }

@ -195,14 +195,13 @@ post_install_actions() {
pre_uninstall_actions() { pre_uninstall_actions() {
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file $init_file"; [ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $mark_file $addond_file $init_file";
return 0; return 0;
} }
post_uninstall_actions() { post_uninstall_actions() {
rm -rf "$root/$mark_file";
return 0; return 0;
} }

@ -163,14 +163,13 @@ post_install_actions() {
pre_uninstall_actions() { pre_uninstall_actions() {
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file $init_file"; [ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $mark_file $addond_file $init_file";
return 0; return 0;
} }
post_uninstall_actions() { post_uninstall_actions() {
rm -rf "$root/$mark_file";
return 0; return 0;
} }

Loading…
Cancel
Save