summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-03-13 19:10:47 -0500
committerAndrew Cady <d@jerkface.net>2021-03-13 19:10:47 -0500
commitbc9ed429b1c72b8aadd78a60f62eb44d25bcc125 (patch)
treee801fede4ad81b335919d67677bec7e80e09c7d4
parent1509836040013d2e6e1e73fece14525a2b441d9b (diff)
use buster on target if host is stretch
-rw-r--r--fsmgr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsmgr.hs b/fsmgr.hs
index 6af4c82..a60b2bd 100644
--- a/fsmgr.hs
+++ b/fsmgr.hs
@@ -51,7 +51,7 @@ debarch = unsafePerformIO $ do
51getDebianCodename :: String 51getDebianCodename :: String
52getDebianCodename = unsafePerformIO $ do 52getDebianCodename = unsafePerformIO $ do
53 (Stdout codename) <- cmd "sh -c" [". /etc/os-release && printf '%s' \"$VERSION_CODENAME\""] 53 (Stdout codename) <- cmd "sh -c" [". /etc/os-release && printf '%s' \"$VERSION_CODENAME\""]
54 return codename 54 return $ if codename == "stretch" then "buster" else codename
55 55
56uname :: (String, String) 56uname :: (String, String)
57uname = unsafePerformIO $ do 57uname = unsafePerformIO $ do