From ec8446cbc484fef1aded765106660050e5fd8457 Mon Sep 17 00:00:00 2001 From: "Thomas M. DuBuisson" Date: Mon, 27 Sep 2021 16:51:30 -0700 Subject: [PATCH] Update Muse to Lift config and use sudo --- .lift/config.toml | 2 ++ {.muse => .lift}/setup.sh | 3 +-- .muse/config | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 .lift/config.toml rename {.muse => .lift}/setup.sh (75%) delete mode 100644 .muse/config diff --git a/.lift/config.toml b/.lift/config.toml new file mode 100644 index 00000000..02bfb39f --- /dev/null +++ b/.lift/config.toml @@ -0,0 +1,2 @@ +setup = ".lift/setup.sh" +build = "make" diff --git a/.muse/setup.sh b/.lift/setup.sh similarity index 75% rename from .muse/setup.sh rename to .lift/setup.sh index 7e7564c3..b00ee873 100755 --- a/.muse/setup.sh +++ b/.lift/setup.sh @@ -1,10 +1,9 @@ #!/usr/bin/env bash if [ $(whoami) = "root" ]; then - apt update && apt install -y libssl-dev libcurl4-gnutls-dev + sudo apt update && sudo apt install -y libssl-dev libcurl4-gnutls-dev fi -cd $1 sed -i 's/gcc_z_support=yes/gcc_z_support=no/' configure sed -i 's/-z,noexecstack//' configure ./configure LIBS=-lcurl --with-libcurl-dir=/usr/lib/x86_64-linux-gnu/ diff --git a/.muse/config b/.muse/config deleted file mode 100644 index 245f4556..00000000 --- a/.muse/config +++ /dev/null @@ -1,2 +0,0 @@ -setup = ".muse/setup.sh" -build = "make"