Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurora-Nasa-1 committed Oct 19, 2024
1 parent 2cb993e commit 20d21d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Binary file added 0.1.1.zip
Binary file not shown.
9 changes: 4 additions & 5 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
if [ ! -f "$MODPATH/settings.sh" ]; then
abort "NOTFOUND FILE!!!(settings.sh)"
else
# shellcheck disable=SC1091
. "$MODPATH/settings.sh"
fi
ui_print "---AURORA Installer---"
Expand Down Expand Up @@ -46,10 +45,10 @@ Installer() {
fi
}
initialize_install() {
if [ ! -d "$MODPATH/$ZIPLIS" ]; then
echo "Notfound $MODPATH/$ZIPLIS"
if [ ! -d "$MODPATH/$ZIPLIST" ]; then
ui_print "Notfound $MODPATH/$ZIPLIST"
else
for file in "$MODPATH/$ZIPLIS"/*; do
for file in "$MODPATH/$ZIPLIST"/*; do
if [ -f "$file" ]; then
Installer "$file"
fi
Expand Down Expand Up @@ -95,13 +94,13 @@ CustomShell() {
}
###############
delete_temp_files() {
rm -rf "$MODPATH"
tempdelete="$(dirname "$(dirname "$MODPATH")")/modules/AuroraNasa_Installer/"
if [ -d "$tempdelete" ]; then
rm -rf "$tempdelete"
else
abort "Error.No temp files found to delete."
fi
rm -rf "$MODPATH"
}
version_check
initialize_install
Expand Down

0 comments on commit 20d21d4

Please sign in to comment.