mirror of
				https://framagit.org/YunoHost-Apps/gitea_ynh.git
				synced 2025-10-30 05:15:30 +01:00 
			
		
		
		
	Fix upgrade
This commit is contained in:
		| @@ -39,7 +39,8 @@ ynh_systemd_action --service_name="$app" --action=stop | |||||||
| # This is not handled by the core because the previous package did not define final_path... | # This is not handled by the core because the previous package did not define final_path... | ||||||
| if [ -d "/opt/$app" ]; then | if [ -d "/opt/$app" ]; then | ||||||
|     # This is the package version of the manifestv2 |     # This is the package version of the manifestv2 | ||||||
|     mv "/opt/$app/" "$install_dir" |     mv -t "$install_dir/" "/opt/$app/"* | ||||||
|  |     ynh_secure_remove --file="/opt/$app" | ||||||
| fi | fi | ||||||
|  |  | ||||||
| # Move data directory | # Move data directory | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Josué Tille
					Josué Tille