commit d7be26a

chld  ·  2026-02-07 17:05:27 +0000 UTC
parent 4bc1545
clean
3 files changed,  +2, -1
+1, -0
1@@ -6,3 +6,4 @@ dtrgolang
2 dgr
3 dgr.sh
4 dgr/
5+installed
+0, -0
+1, -1
1@@ -26,7 +26,7 @@ func Inst(pkg string) {
2 
3 		f, err := os.OpenFile(
4 			filepath.Join(os.Getenv("DTR_DB"), "installed"),
5-			os.O_WRONLY|os.O_APPEND, 0644) // make sure to append
6+			os.O_WRONLY|os.O_APPEND, 0644) // make sure to append, r/w access
7 		if err != nil {
8 			dgr.Die("could not open file", filepath.Join(os.Getenv("DTR_DB"), "installed"), 1)
9 		}