equal
deleted
inserted
replaced
856 return bundle(params, outputParentDir); |
856 return bundle(params, outputParentDir); |
857 } |
857 } |
858 |
858 |
859 @Override |
859 @Override |
860 public boolean supported(boolean runtimeInstaller) { |
860 public boolean supported(boolean runtimeInstaller) { |
861 return (Platform.getPlatform() == Platform.LINUX); |
861 if (Platform.getPlatform() == Platform.LINUX) { |
|
862 if (testTool(TOOL_DPKG, "1")) { |
|
863 return true; |
|
864 } |
|
865 } |
|
866 return false; |
862 } |
867 } |
863 |
868 |
864 public int getSquareSizeOfImage(File f) { |
869 public int getSquareSizeOfImage(File f) { |
865 try { |
870 try { |
866 BufferedImage bi = ImageIO.read(f); |
871 BufferedImage bi = ImageIO.read(f); |