Dom0: use kpackagekit for updates GUI
This commit is contained in:
parent
6537b47baf
commit
94c0f6c9d3
@ -52,7 +52,7 @@ while true; do
|
|||||||
# Yes, I know that it will block future checking for updates,
|
# Yes, I know that it will block future checking for updates,
|
||||||
# but it is intentional (to not flood user with updates
|
# but it is intentional (to not flood user with updates
|
||||||
# notification)
|
# notification)
|
||||||
gpk-update-viewer
|
kpackagekit --updates
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -19,7 +19,7 @@ if [ $# -gt 0 ]; then
|
|||||||
elif [ -f /var/lib/qubes/updates/repodata/repomd.xml ]; then
|
elif [ -f /var/lib/qubes/updates/repodata/repomd.xml ]; then
|
||||||
yum check-update
|
yum check-update
|
||||||
if [ $? -eq 100 ]; then
|
if [ $? -eq 100 ]; then
|
||||||
gpk-update-viewer
|
kpackagekit --updates
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "No updates avaliable"
|
echo "No updates avaliable"
|
||||||
|
@ -42,6 +42,7 @@ Conflicts: qubes-gui-dom0 < 1.1.13
|
|||||||
Requires: yum-plugin-post-transaction-actions
|
Requires: yum-plugin-post-transaction-actions
|
||||||
Requires: xen >= 4.1.0-2
|
Requires: xen >= 4.1.0-2
|
||||||
Requires: createrepo
|
Requires: createrepo
|
||||||
|
Requires: kpackagekit
|
||||||
%define _builddir %(pwd)/dom0
|
%define _builddir %(pwd)/dom0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user