mirror of
https://github.com/Brawl345/stargazer.git
synced 2024-11-17 05:39:19 +01:00
10 lines
411 B
Plaintext
10 lines
411 B
Plaintext
|
# --- Uninstall previous version
|
||
|
RemovePackage %%%Name%%% %%%Major%%%
|
||
|
DeleteDirectory %%%PackagesDir%%%/%%%Name%%%_%%%Major%%%
|
||
|
|
||
|
# --- Install new version
|
||
|
CreateDirectory %%%PackagesDir%%%/%%%Name%%%_%%%Major%%%
|
||
|
CopyDirectory %%%DownloadDir%%%/%%%Name%%%_%%%Major%%%.%%%Minor%%% %%%PackagesDir%%%/%%%Name%%%_%%%Major%%%
|
||
|
AddPackage %%%Name%%% %%%Version%%% %%%PackagesDir%%%/%%%Name%%%_%%%Major%%% flash_package
|
||
|
|