mirror of
https://git.launchpad.net/~ubuntu-qt-code/+git/calamares-settings-ubuntu
synced 2025-04-27 19:11:08 +00:00
debian/control: Define the flavor packages as swappable packages
It is possible to define packages such that one and only one package with a particular virtual name can be installed. Use that instead of forcing people to enumerate conflicts for every possible flavor.
This commit is contained in:
parent
2e551c98e4
commit
79aaacdae4
@ -6,8 +6,8 @@ If you want to add a new package for your flavor, here's how to do it:
|
|||||||
2. Edit files and rename the branding directory for your flavor. All of the
|
2. Edit files and rename the branding directory for your flavor. All of the
|
||||||
configuration files are pretty self-explanatory, but they're documented
|
configuration files are pretty self-explanatory, but they're documented
|
||||||
well upstream, so it shouldn't be hard to put your own spin on things.
|
well upstream, so it shouldn't be hard to put your own spin on things.
|
||||||
3. Create a new binary package, and *make sure to Conflicts against all other
|
3. Create a new binary package, and *make sure to Provides+Conflicts against
|
||||||
binary packages in this source package*. This needs to be done because all
|
`calamares-settings-ubuntu-flavor`*. This needs to be done because all
|
||||||
subdirectories are installed in the same location, so this makes sure that
|
subdirectories are installed in the same location, so this makes sure that
|
||||||
nobody tries to install any two binary packages at the same time.
|
nobody tries to install any two binary packages at the same time.
|
||||||
|
|
||||||
|
9
debian/control
vendored
9
debian/control
vendored
@ -25,7 +25,8 @@ Package: calamares-settings-kubuntu
|
|||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: calamares-settings-ubuntu-common (>= ${binary:Version}),
|
Depends: calamares-settings-ubuntu-common (>= ${binary:Version}),
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Conflicts: calamares-settings-ubuntustudio, calamares-settings-lubuntu
|
Conflicts: calamares-settings-ubuntu-flavor
|
||||||
|
Provides: calamares-settings-ubuntu-flavor
|
||||||
Description: Kubuntu Calamares Settings and Branding
|
Description: Kubuntu Calamares Settings and Branding
|
||||||
This package contains the Calamares settings and branding for Kubuntu.
|
This package contains the Calamares settings and branding for Kubuntu.
|
||||||
As part of the branding the installer slideshow is contained within.
|
As part of the branding the installer slideshow is contained within.
|
||||||
@ -37,7 +38,8 @@ Architecture: all
|
|||||||
Depends: calamares-settings-ubuntu-common (>= ${binary:Version}),
|
Depends: calamares-settings-ubuntu-common (>= ${binary:Version}),
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Recommends: lubuntu-installer-prompt
|
Recommends: lubuntu-installer-prompt
|
||||||
Conflicts: calamares-settings-ubuntustudio, calamares-settings-kubuntu
|
Conflicts: calamares-settings-ubuntu-flavor
|
||||||
|
Provides: calamares-settings-ubuntu-flavor
|
||||||
Description: Lubuntu Calamares Settings and Branding
|
Description: Lubuntu Calamares Settings and Branding
|
||||||
This package contains the Calamares settings and branding for Lubuntu.
|
This package contains the Calamares settings and branding for Lubuntu.
|
||||||
As part of the branding the installer slideshow is contained within.
|
As part of the branding the installer slideshow is contained within.
|
||||||
@ -67,7 +69,8 @@ Package: calamares-settings-ubuntustudio
|
|||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: calamares-settings-ubuntu-common (>= ${binary:Version}),
|
Depends: calamares-settings-ubuntu-common (>= ${binary:Version}),
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Conflicts: calamares-settings-lubuntu, calamares-settings-kubuntu
|
Conflicts: calamares-settings-ubuntu-flavor
|
||||||
|
Provides: calamares-settings-ubuntu-flavor
|
||||||
Description: Ubuntu Studio Calamares Settings and Branding
|
Description: Ubuntu Studio Calamares Settings and Branding
|
||||||
This package contains the Calamares settings and branding for Ubuntu Studio.
|
This package contains the Calamares settings and branding for Ubuntu Studio.
|
||||||
As part of the branding the installer slideshow is contained within.
|
As part of the branding the installer slideshow is contained within.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user