~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to update-seeds

  • Committer: Steve Langasek
  • Date: 2018-10-18 15:13:39 UTC
  • Revision ID: steve.langasek@canonical.com-20181018151339-bw5b9cfxp5435laz
infer gitness from the URL instead of requiring a manual declaration

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                esac
36
36
        fi
37
37
 
38
 
        git=
39
38
        case $dist in
40
39
                kubuntu.*|kubuntu-active.*|kubuntu-plasma5.*)
41
40
                        branch="http://bazaar.launchpad.net/~kubuntu-dev/ubuntu-seeds/$dist"
42
41
                        ;;
43
42
                xubuntu.*)
44
43
                        branch="https://git.launchpad.net/~xubuntu-dev/ubuntu-seeds/+git/xubuntu"
45
 
                        git="yes"
46
44
                        ;;
47
45
                mythbuntu.*)
48
46
                        branch="http://bazaar.launchpad.net/~mythbuntu-dev/ubuntu-seeds/$dist"
49
47
                        ;;
50
48
                ubuntustudio.*)
51
49
                        branch="https://git.launchpad.net/~ubuntustudio-dev/ubuntu-seeds/+git/ubuntustudio"
52
 
                        git="yes"
53
50
                        ;;
54
51
                lubuntu.*)
55
52
                        branch="https://git.launchpad.net/~lubuntu-dev/ubuntu-seeds/+git/lubuntu"
56
 
                        git="yes"
57
53
                        ;;
58
54
                ubuntu-gnome.*)
59
55
                        branch="https://git.launchpad.net/~ubuntu-gnome-dev/ubuntu-seeds/+git/ubuntu-gnome"
60
 
                        git="yes"
61
56
                        ;;
62
57
                ubuntukylin.*)
63
58
                        branch="https://git.launchpad.net/~ubuntukylin-members/ubuntu-seeds/+git/ubuntukylin"
64
 
                        git="yes"
65
59
                        ;;
66
60
                ubuntu-mate.*)
67
61
                        branch="http://bazaar.launchpad.net/~ubuntu-mate-dev/ubuntu-seeds/$dist"
71
65
                        ;;
72
66
                *)
73
67
                        branch="https://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/${dist%.*}"
74
 
                        git="yes"
 
68
                        ;;
 
69
        esac
 
70
        case $branch in
 
71
                *bazaar*)
 
72
                        git=
 
73
                        ;;
 
74
                *)
 
75
                        git=yes
75
76
                        ;;
76
77
        esac
77
78
        if [ -d "$dist" ]; then