Updated script for Pharo6:

StartupPreferencesLoader default executeAtomicItems: {
        StartupAction
                name: 'remove references to Pharo60 and Pharo60Inbox'
                code: [

|rx group|
rx := '([0-9]{5})' asRegex.
(rx matchesPrefix: Smalltalk image shortImageName) ifFalse: [
        group := MCRepositoryGroup default.
        group repositories detect: [ :each |
                each location includesSubstring: 'Pharo/Pharo60Inbox/main'
        ] ifFound: [ :repo |
                group removeRepository: repo
        ].

        group repositories detect: [ :each |
                each location includesSubstring: 'Pharo/Pharo60/main'
        ] ifFound: [ :repo |
                group removeRepository: repo
        ].

        group repositories detect: [ :each |
                each location includesSubstring: 'MetaRepoForPharo60/main'
        ] ifFound: [ :repo |
                group removeRepository: repo
        ]
]

                ]
                runOnce: true.
}



--
View this message in context: 
http://forum.world.st/Saving-to-local-git-and-Loading-all-file-names-from-http-pharo5-inbox-tp4897962p4951677.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to