[wpkg-users] Little change in the wpkg.js

totalbillig at gmx.de totalbillig at gmx.de
Thu May 29 15:26:55 CEST 2008


Hello together,

I made a little change in the wpkg.js, and I want to know if anyone thinks there is a problem.

I changed on line in the following section.

>// Load packages and profiles.
>	if (isForce()) {
>		dinfo("Skipping current settings. Checking for actually installed packages.");
>
>		setSettings(createSettings());
>
>		fillSettingsWithInstalled();
>
>	} else {
>		// Load or create settings file.
>		if (!fso.fileExists(settings_file)) {
>			dinfo("Settings file does not exist. Creating a new file.");
>
>			setSettings(createSettings());
>		} else {
>			dinfo("Reading settings file: " + settings_file);
>			setSettings(createSettingsFromFile(settings_file));
>		}
>	}

I removed the part '&& isArgSet(argv, "/synchronize")' in the if-statement, because I want that the
force-option can be used with any other option, not only with the synchronize-option.

Does someone think there is a problem?

Greetings Tobias
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx



More information about the wpkg-users mailing list