From 7b1805838bee68fab9533a8cd68f031b853214b9 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 25 Nov 2013 15:08:21 +0100 Subject: [PATCH 1/2] Fixed arguments and permissions for /usr/local/bin/artifice-* files --- packaging/scripts/post_install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/scripts/post_install.sh b/packaging/scripts/post_install.sh index 3dc0c56..fa0a972 100644 --- a/packaging/scripts/post_install.sh +++ b/packaging/scripts/post_install.sh @@ -21,13 +21,13 @@ virtualenv <%= install_path %>/env cat > /usr/local/bin/artifice-bill </env/bin/python <%=install_path%>/bin/bill.py $@ - +<%=install_path%>/env/bin/python <%=install_path%>/bin/bill.py \$@ EOF +chmod +x /usr/local/bin/artifice-bill cat > /usr/local/bin/artifice-usage </env/bin/python <%=install_path%>/bin/usage.py $@ +<%=install_path%>/env/bin/python <%=install_path%>/bin/usage.py \$@ EOF - +chmod +x /usr/local/bin/artifice-usage From c6914b7b7865ab65547b30a119ed78eb51ec4f2e Mon Sep 17 00:00:00 2001 From: Michiel Karnebeek Date: Mon, 25 Nov 2013 15:15:02 +0100 Subject: [PATCH 2/2] Fixed arguments and permissions for /usr/local/bin/artifice-* files --- packaging/scripts/post_install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/scripts/post_install.sh b/packaging/scripts/post_install.sh index 3dc0c56..fa0a972 100644 --- a/packaging/scripts/post_install.sh +++ b/packaging/scripts/post_install.sh @@ -21,13 +21,13 @@ virtualenv <%= install_path %>/env cat > /usr/local/bin/artifice-bill </env/bin/python <%=install_path%>/bin/bill.py $@ - +<%=install_path%>/env/bin/python <%=install_path%>/bin/bill.py \$@ EOF +chmod +x /usr/local/bin/artifice-bill cat > /usr/local/bin/artifice-usage </env/bin/python <%=install_path%>/bin/usage.py $@ +<%=install_path%>/env/bin/python <%=install_path%>/bin/usage.py \$@ EOF - +chmod +x /usr/local/bin/artifice-usage