Unverified Commit 257b6e47 authored by José Romildo Malaquias's avatar José Romildo Malaquias Committed by GitHub
Browse files

reversal-icon-theme: fix options to reflect upstream updates (#481735)

parents b3e92cc8 9bfeff3f
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
  hicolor-icon-theme,
  numix-icon-theme-circle,
  gitUpdater,
  allColorVariants ? false,
  colorVariants ? [ ],
}:

@@ -17,16 +16,18 @@ let
in
lib.checkListOfEnum "${pname}: color variants"
  [
    "-blue"
    "-red"
    "-pink"
    "-purple"
    "-green"
    "-orange"
    "-brown"
    "-grey"
    "-black"
    "-cyan"
    "black"
    "blue"
    "brown"
    "cyan"
    "green"
    "grey"
    "lightblue"
    "orange"
    "pink"
    "purple"
    "red"
    "all"
  ]
  colorVariants

@@ -73,7 +74,7 @@ lib.checkListOfEnum "${pname}: color variants"
      mkdir -p $out/share/icons

      name= ./install.sh \
        ${if allColorVariants then "-a" else toString colorVariants} \
        -t ${toString colorVariants} \
        -d $out/share/icons

      rm $out/share/icons/*/{AUTHORS,COPYING}