- Switched to using the flag system from the flag go package

- Added the -R flag which lets you choose a destination root directory
This commit is contained in:
2024-04-13 09:23:03 +03:00
parent a9283037d8
commit 472d21a618
5 changed files with 128 additions and 64 deletions
+3
View File
@@ -453,6 +453,9 @@ func InstallPackage(filename, installDir string, force, binaryPkgFromSrc, keepTe
return err
}
}
if len(files) == 0 {
return errors.New("no output files for source package. Cancelling package installation")
}
}
}
} else {