Skip to content

Commit

Permalink
move backup of config.orig from pre-backup to post-backup
Browse files Browse the repository at this point in the history
this fixes $MAGISKTMP/util_functions.sh not available yet
  • Loading branch information
binarynoise authored and programminghoch10 committed Feb 10, 2024
1 parent d94b617 commit 6d94602
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/addon.d.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ case "$1" in
# Stub
;;
pre-backup)
# Stub
;;
post-backup)
# Back up PREINITDEVICE from existing partition before OTA on A-only devices
if ! $backuptool_ab; then
initialize
Expand All @@ -109,9 +112,6 @@ case "$1" in
$MAGISKBIN/magiskboot cleanup
fi
;;
post-backup)
# Stub
;;
pre-restore)
# Stub
;;
Expand Down

0 comments on commit 6d94602

Please sign in to comment.