package com.github.aureliano.achmed.os;

import com.github.aureliano.achmed.os.pkg.IPackageManager;
import com.github.aureliano.achmed.os.pkg.PackageManagerFactory;
import com.github.aureliano.achmed.types.OperatingSystemFamily;
import com.github.aureliano.achmed.types.PackageProvider;

public class Ubuntu extends Linux {
	
	private IPackageManager packageManager;
	
	public Ubuntu() {
		this.packageManager = PackageManagerFactory.createPackageManager(PackageProvider.APT);
	}

	public IPackageManager getDefaultPackageManager() {
		return this.packageManager;
	}

	public OperatingSystemFamily getOperatingSystemFamily() {
		return OperatingSystemFamily.UBUNTU;
	}
}
@@ -73,217 +73,35 @@
 med.
-os.pkg.IPackageManager;%0Aimport com.github.aureliano.achmed.os.pkg.PackageManagerFactory;%0Aimport com.github.aureliano.achmed.types.OperatingSystemFamily;%0Aimport com.github.aureliano.achmed.types.PackageProvider
+types.OperatingSystemFamily
 ;%0A%0Ap
@@ -131,254 +131,47 @@
 nds 
-Linux
+Debian
  %7B%0A%09%0A%09p
-rivate IPackageManager packageManager;%0A%09%0A%09public Ubuntu() %7B%0A%09%09this.packageManager = PackageManagerFactory.createPackageManager(PackageProvider.APT);%0A%09%7D%0A%0A%09public IPackageManager getDefaultPackageManager() %7B%0A%09%09return this.packageManager
+ublic Ubuntu() %7B%0A%09%09super()
 ;%0A%09%7D

Make Ubuntu extend Debian.