]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The CUPS Snap uses "cups--control" and not "admin" any more as admin slot
authorTill Kamppeter <till.kamppeter@gmail.com>
Tue, 9 Mar 2021 13:36:01 +0000 (14:36 +0100)
committerMichael R Sweet <msweet@msweet.org>
Thu, 11 Mar 2021 00:25:28 +0000 (19:25 -0500)
Renamed the default for "--with-cups-control-slot" from "admin" to
"cups-control".

config-scripts/cups-snap.m4

index 142ce6cea55546ee2ca940940b21c4e4865e7871..f3c539d05c94185501e02de993fd7aa7a7872a60 100644 (file)
@@ -15,10 +15,10 @@ AC_ARG_WITH([snapctl], AS_HELP_STRING([--with-snapctl], [Set path for snapctl, o
     SNAPCTL="/usr/bin/snapctl"
 ])
 AC_DEFINE_UNQUOTED([SNAPCTL], ["$SNAPCTL"], [Location of snapctl program.])
-AC_ARG_WITH([cups_control_slot], AS_HELP_STRING([--with-cups-control-slot], [Name for cups-control slot as defined in snapcraft.yaml, only needed with --enable-snapped-cupsd, default=admin]), [
+AC_ARG_WITH([cups_control_slot], AS_HELP_STRING([--with-cups-control-slot], [Name for cups-control slot as defined in snapcraft.yaml, only needed with --enable-snapped-cupsd, default=cups-control]), [
     CUPS_CONTROL_SLOT="$withval"
 ], [
-    CUPS_CONTROL_SLOT="admin"
+    CUPS_CONTROL_SLOT="cups-control"
 ])
 AC_DEFINE_UNQUOTED([CUPS_CONTROL_SLOT], ["$CUPS_CONTROL_SLOT"], ["cups-control" slot name for snap.])