소스 검색

Reorder MYSQL DATABASE REMOVE before DEPENDENCIES REMOVE if using other DATABASE system

yalh76 5 년 전
부모
커밋
29d27f85f9
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      scripts/remove

+ 6 - 6
scripts/remove

@@ -42,18 +42,18 @@ fi
 ynh_remove_systemd_config
 
 #=================================================
-# REMOVE DEPENDENCIES
+# REMOVE THE MYSQL DATABASE
 #=================================================
 
-# Remove metapackage and its dependencies
-ynh_remove_app_dependencies
+# Remove a database if it exists, along with the associated user
+ynh_mysql_remove_db $db_user $db_name
 
 #=================================================
-# REMOVE THE MYSQL DATABASE
+# REMOVE DEPENDENCIES
 #=================================================
 
-# Remove a database if it exists, along with the associated user
-ynh_mysql_remove_db $db_user $db_name
+# Remove metapackage and its dependencies
+ynh_remove_app_dependencies
 
 #=================================================
 # REMOVE APP MAIN DIR