[Goodies-commits] r3287 - xfce4-smartpm-plugin/trunk/src
Anders F Bjorklund
afb at xfce.org
Thu Oct 4 14:02:40 CEST 2007
Author: afb
Date: 2007-10-04 12:02:40 +0000 (Thu, 04 Oct 2007)
New Revision: 3287
Modified:
xfce4-smartpm-plugin/trunk/src/xfcesmart.c
Log:
cleanup
Modified: xfce4-smartpm-plugin/trunk/src/xfcesmart.c
===================================================================
--- xfce4-smartpm-plugin/trunk/src/xfcesmart.c 2007-10-04 12:01:30 UTC (rev 3286)
+++ xfce4-smartpm-plugin/trunk/src/xfcesmart.c 2007-10-04 12:02:40 UTC (rev 3287)
@@ -578,11 +578,11 @@
argv[2] = "check-update";
break;
case PACKAGE_MANAGER_APT:
+ tempfile = g_strdup_printf("%s%s%s-apt", g_get_tmp_dir(), G_DIR_SEPARATOR_S, g_get_user_name());
argv[0] = APT_UPDATE;
argv[1] = "--simulate";
argv[2] = "dist-upgrade";
argv[3] = "--option"; /* regular cache files is only writable by root */
- tempfile = g_strdup_printf("%s%s%s-apt", g_get_tmp_dir(), G_DIR_SEPARATOR_S, g_get_user_name());
argv[4] = pkgcache = g_strdup_printf("Dir::Cache::pkgcache=%spkg.cache", tempfile);
argv[5] = "--option"; /* regular cache files is only writable by root */
argv[6] = srcpkgcache = g_strdup_printf("Dir::Cache::srcpkgcache=%ssrc.cache", tempfile);
More information about the Goodies-commits
mailing list