fixing upgrade check
This commit is contained in:
		
							parent
							
								
									5f51c55072
								
							
						
					
					
						commit
						0934e6b08f
					
				|  | @ -62,10 +62,10 @@ for file in $( ls $extensions | sort -n ) ; do | ||||||
|                   # run the proper program to interpret the upgrade script |                   # run the proper program to interpret the upgrade script | ||||||
| 		  case "$ext" in | 		  case "$ext" in | ||||||
| 		      sql) | 		      sql) | ||||||
| 			  ( echo "BEGIN" | 			  ( echo "BEGIN;" | ||||||
| 			      cat $file | 			      cat $file | ||||||
| 			      echo "UPDATE alternc_status SET value='$file' WHERE name='alternc_version'" | 			      echo "UPDATE alternc_status SET value='$file' WHERE name='alternc_version';" | ||||||
| 			      echo "COMMIT" | 			      echo "COMMIT;" | ||||||
| 			  ) | mysql --defaults-file=/etc/alternc/my.cnf | 			  ) | mysql --defaults-file=/etc/alternc/my.cnf | ||||||
| 			  ;; | 			  ;; | ||||||
| 		      php) | 		      php) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Benjamin Sonntag
						Benjamin Sonntag