diff options
author | Donghoon Shin <dhs.shine@gmail.com> | 2017-03-16 15:17:02 +0900 |
---|---|---|
committer | Donghoon Shin <dhs.shine@gmail.com> | 2017-03-16 15:17:02 +0900 |
commit | 5a1eb4d68bae0db5e5a04907249b7acae7ee3567 (patch) | |
tree | 389097e8a50bc53d09c43086a774dcd218321dc6 | |
parent | dc2be408253f2f63059ba81b847864ad983eedb4 (diff) | |
download | litmus-5a1eb4d68bae0db5e5a04907249b7acae7ee3567.tar.gz litmus-5a1eb4d68bae0db5e5a04907249b7acae7ee3567.tar.bz2 litmus-5a1eb4d68bae0db5e5a04907249b7acae7ee3567.zip |
Update debian/postscript to avoid error while building docker image
-rw-r--r-- | debian/postinst | 2 | ||||
-rw-r--r-- | debian/postrm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst index 65629a5..80b8319 100644 --- a/debian/postinst +++ b/debian/postinst @@ -34,7 +34,7 @@ esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. -[ -x /sbin/udevadm ] && /sbin/udevadm control --reload-rules +[ ! -f /.dockerenv ] && [ -x /sbin/udevadm ] && /sbin/udevadm control --reload-rules #DEBHELPER# diff --git a/debian/postrm b/debian/postrm index dd11900..7ffac14 100644 --- a/debian/postrm +++ b/debian/postrm @@ -32,7 +32,7 @@ esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. -[ -x /sbin/udevadm ] && /sbin/udevadm control --reload-rules +[ ! -f /.dockerenv ] && [ -x /sbin/udevadm ] && /sbin/udevadm control --reload-rules #DEBHELPER# |