2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 16:36:25 +00:00

updated postinst/postremove actions

This commit is contained in:
nginn 2015-12-29 16:18:52 +03:00
parent f71ad1a6e9
commit 8596f93d41
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash #!/bin/bash
ln -s /usr/bench/bin/bench /usr/bin/bench if [ ! -h /usr/bin/bench ]; then
ln -s /usr/bench/bin/bench /usr/bin/bench
fi

View File

@ -0,0 +1,5 @@
#!/bin/bash
if [ ! -h /usr/bin/bench ]; then
rm -rf /usr/bin/bench
fi