mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 23:09:43 +03:00
Copy hotlist from the pre-3.0 to the 3.0 location during install, if it exists and there isn't one present in the new location already.
This commit is contained in:
parent
9995ef583f
commit
e547026dfa
18
amiga/dist/Install
vendored
18
amiga/dist/Install
vendored
@ -382,6 +382,10 @@
|
||||
(set #user-options (tackon #user-dir "Choices"))
|
||||
(set #options-exist (exists #user-options))
|
||||
(set #searchengines-exist (exists (tackon @default-dest "Resources/SearchEngines")))
|
||||
(set #user-hotlist (tackon #user-dir "Hotlist"))
|
||||
(set #hotlist-exist (exists #user-hotlist))
|
||||
(set #old-hotlist (tackon @default-dest "Resources/Hotlist"))
|
||||
(set #old-hotlist-exist (exists #old-hotlist))
|
||||
(set #aiss-theme "")
|
||||
|
||||
(if (= #options-exist 0)
|
||||
@ -411,6 +415,20 @@
|
||||
)
|
||||
)
|
||||
|
||||
(if (= #hotlist-exist 0)
|
||||
(if (= #old-hotlist-exist 1)
|
||||
(
|
||||
(copyfiles
|
||||
(prompt "Migrating NetSurf 2.x Hotlist")
|
||||
(help @copyfiles-help)
|
||||
(source #old-hotlist)
|
||||
(dest #user-dir)
|
||||
(optional "askuser" "force" "oknodelete")
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(complete 18)
|
||||
|
||||
(if (>= osver 53)
|
||||
|
Loading…
Reference in New Issue
Block a user