Skip to content

Commit

Permalink
Fix parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
purejava committed Nov 3, 2024
1 parent 68c57fe commit ef10d75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let CHECK_INTERVAL = 60*60; // 1h
let NOTIFY = false;
let HOWMUCH = 0;
let UPDATE_CMD = "gnome-terminal -- /bin/sh -c \"sudo dnf upgrade; echo Done - Press enter to exit; read _\" ";
let CHECK_CMD = "/bin/bash -c \"/usr/bin/dnf check-update -yq | grep -E 'x86_64|i686|noarch|aarch64' | awk '{print $1;$2}'\"";
let CHECK_CMD = "/bin/bash -c \"/usr/bin/dnf check-update -yq | grep -E 'x86_64|i686|noarch|aarch64' | awk '{print $1,$2}'\"";
let MANAGER_CMD = "";
let PACKAGE_CACHE_DIR = "";
let STRIP_VERSIONS = false;
Expand Down
Binary file modified schemas/gschemas.compiled
Binary file not shown.
4 changes: 2 additions & 2 deletions schemas/org.gnome.shell.extensions.fedora-update.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
</key>

<key name="check-cmd-dnf4" type="s">
<default>"/bin/bash -c \"/usr/bin/dnf check-update --refresh -yq | tail -n +2 | grep -E 'x86_64|i686|noarch|aarch64' | awk '{print $1;$2}'\""</default>
<default>"/bin/bash -c \"/usr/bin/dnf check-update --refresh -yq | tail -n +2 | grep -E 'x86_64|i686|noarch|aarch64' | awk '{print $1,$2}'\""</default>
<summary>Command to run to check for updated packages with dnf 4.</summary>
<description>Command to run to check for updated packages with dnf 4.</description>
</key>

<key name="check-cmd-dnf5" type="s">
<default>"/bin/bash -c \"/usr/bin/dnf check-update -yq | grep -E 'x86_64|i686|noarch|aarch64' | awk '{print $1;$2}'\""</default>
<default>"/bin/bash -c \"/usr/bin/dnf check-update -yq | grep -E 'x86_64|i686|noarch|aarch64' | awk '{print $1,$2}'\""</default>
<summary>Command to run to check for updated packages with dnf 5.</summary>
<description>Command to run to check for updated packages with dnf 5.</description>
</key>
Expand Down

0 comments on commit ef10d75

Please sign in to comment.