[Lunar-commits] <moonbase-other> slim: do not overwrite config on every update

v4hn me at v4hn.de
Tue Jul 24 14:06:35 CEST 2012


commit 990bcf972ba053318dc7db13347fca113212d2b6
Author: v4hn <me at v4hn.de>
Date: Tue, 24 Jul 2012 05:06:35 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/990bcf972ba053318dc7db13347fca113212d2b6

slim: do not overwrite config on every update
---
  x11-utils/slim/BUILD                                         +7/-1     
  1 files changed, 7 insertions (+), 1 deletions (-)

--- a/x11-utils/slim/BUILD
+++ b/x11-utils/slim/BUILD
@@ -1,5 +1,11 @@
 (
 
-  default_cmake_build
+  sedit '/slim.conf/d' CMakeLists.txt &&
+
+  default_cmake_build &&
+
+  if [ ! -e /etc/slim.conf ]; then
+     install -Dm0644 slim.conf /etc/slim.conf
+  fi
 
 ) > $C_FIFO 2>&1




More information about the Lunar-commits mailing list