setup-apt
Version:
Setup apt packages and repositories in Debian/Ubuntu-based distributions
22 lines (21 loc) • 500 B
TypeScript
/**
* Check if nala is installed
*/
export declare function hasNala(): boolean;
/**
* Check if apt-fast is installed
*/
export declare function hasAptFast(): boolean;
/**
* Check if apt is installed
*/
export declare function hasApt(): boolean;
/**
* Check if apt-get is installed
*/
export declare function hasAptGet(): boolean;
/**
* Get the apt command to use
* If nala is installed, use that, otherwise use apt-get
*/
export declare function getApt(): "nala" | "apt-fast" | "apt-get";