aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-12-02 22:37:39 +0100
committerAngelo Naselli <anaselli@linux.it>2014-12-02 22:37:39 +0100
commit1717afbf532961cb64269560060d8b93e977f936 (patch)
tree615f2331af6a0b9a84d20afbaa1878eb9ab26be4 /modules
parent9c82c06a1282289978b0fbb4aa14dbcea3b919b5 (diff)
downloadcolin-keep-1717afbf532961cb64269560060d8b93e977f936.tar
colin-keep-1717afbf532961cb64269560060d8b93e977f936.tar.gz
colin-keep-1717afbf532961cb64269560060d8b93e977f936.tar.bz2
colin-keep-1717afbf532961cb64269560060d8b93e977f936.tar.xz
colin-keep-1717afbf532961cb64269560060d8b93e977f936.zip
Fixed crash if no updates available
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/rpmdragora/dragoraUpdate5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/rpmdragora/dragoraUpdate b/modules/rpmdragora/dragoraUpdate
index 5758cd8..b9894c0 100755
--- a/modules/rpmdragora/dragoraUpdate
+++ b/modules/rpmdragora/dragoraUpdate
@@ -99,9 +99,10 @@ sub _refresh_packages_list {
$packageTbl->deleteAllItems();
if (!scalar(@requested)) {
- interactive_msg($loc->("rpmdragora update"),
+ AdminPanel::rpmdragora::interactive_msg($loc->N("rpmdragora update"),
$loc->N("The list of updates is empty. This means that either there is no available update for the packages installed on your computer, or you already installed all of them."),
- scroll => 1);
+ scroll => 1
+ );
}
else {
my $itemCollection = new yui::YItemCollection;