PackageManager just because
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
331 B

package Variables
import (
"os"
)
const (
DatabaseName string = "package_manager.db"
)
var (
DestDir string = "/"
InstallDirs []string = []string{"/bin", "/etc", "/lib", "/lib64", "/sbin", "/usr"}
)
func init() {
var (
destDir string
)
destDir = os.Getenv("DESTDIR")
if destDir != "" {
DestDir = destDir
}
}