[izpack-changes] r1563 - izpack-src/trunk/src/lib/com/izforge/izpack/util

noreply at berlios.de noreply at berlios.de
Wed Sep 6 22:25:32 CEST 2006


Author: eppelman
Date: 2006-09-06 22:25:31 +0200 (Wed, 06 Sep 2006)
New Revision: 1563

Removed:
   izpack-src/trunk/src/lib/com/izforge/izpack/util/UnixHelper.java
Log:
-implemented  the X-KDE subsitute user - shortcut attribute (see Unix_shortcutSpec.xml).
-write Desktop shortcuts to all known local and ypbinded users "desktop" folders.
-write common shortcuts  to the new freedesktop.org common "/usr/share/applications" 
and "/usr/share/pixmaps" folders to display these in the commons [start].menu
Here: moved to util.os.unix

Deleted: izpack-src/trunk/src/lib/com/izforge/izpack/util/UnixHelper.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/util/UnixHelper.java	2006-09-06 20:24:17 UTC (rev 1562)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/util/UnixHelper.java	2006-09-06 20:25:31 UTC (rev 1563)
@@ -1,59 +0,0 @@
-/*
- * IzPack - Copyright 2001-2006 Julien Ponge, All Rights Reserved.
- * 
- * http://www.izforge.com/izpack/ http://developer.berlios.de/projects/izpack/
- * 
- * Copyright 2004 Marc Eppelmann
- * 
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.izforge.izpack.util;
-
-/**
- * Help Methods for unix-systems and derived.
- * 
- * @author marc.eppelmann@reddot.de
- */
-public class UnixHelper
-{
-
-    /**
-     * Testmain
-     * 
-     * @param args commandline args
-     */
-    public static void main(String[] args)
-    {
-        kdeIsInstalled();
-    }
-
-    /**
-     * Test if KDE is installed.
-     * This is done by $>/usr/bin/env konqueror --version
-     * 
-     * This assumes that the konqueror as a main-app of kde is already installed. 
-     * 
-     * If this returns with 0 konqeror and resp. kde means to be installed, 
-     * 
-     * @return true if kde is installed otherwise false.
-     */
-    public static boolean kdeIsInstalled()
-    {
-        FileExecutor fe = new FileExecutor();
-
-        String[] execOut = new String[2];
-
-        int execResult = fe.executeCommand(
-                new String[] { "/usr/bin/env", "konqueror", "--version"}, execOut);
-
-        return execResult == 0;
-    }
-}




More information about the izpack-changes mailing list