[ciderwebmail] 21/33: Fix create dirs before creating symlinks in them.
Jonas Smedegaard
dr at jones.dk
Wed May 21 12:44:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository ciderwebmail.
commit 4127a9f0fabaf73c3d202e392727d87038a36dd6
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sun Mar 17 02:27:19 2013 +0100
Fix create dirs before creating symlinks in them.
---
debian/rules | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 97e03fb..4ee82bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -104,11 +104,17 @@ binary-post-install/$(pkg)::
# Replace config and separately shipped parts with symlinks
binary-post-install/$(pkg)::
rm -f $(cdbs_curdestdir)usr/share/$(pkg)/root/static/scripts/mootools-core.js
- ln -sT ../../../../javascript/mootools/mootools-core.min.js $(cdbs_curdestdir)usr/share/$(pkg)/root/static/scripts/mootools-core.js
+ mkdir -p $(cdbs_curdestdir)usr/share/$(pkg)/root/static/scripts
+ ln -sT ../../../../javascript/mootools/mootools-core.min.js \
+ $(cdbs_curdestdir)usr/share/$(pkg)/root/static/scripts/mootools-core.js
rm -rf $(cdbs_curdestdir)usr/share/$(pkg)/root/static/images/mimeicons
- ln -sT ../../../../images/http-icons $(cdbs_curdestdir)usr/share/$(pkg)/root/static/images/mimeicons
+ mkdir -p $(cdbs_curdestdir)usr/share/$(pkg)/root/static/images
+ ln -sT ../../../../images/http-icons \
+ $(cdbs_curdestdir)usr/share/$(pkg)/root/static/images/mimeicons
rm -rf $(cdbs_curdestdir)usr/share/$(pkg)/root/static/css/custom.css
- ln -sT /etc/ciderwebmail/custom.css $(cdbs_curdestdir)usr/share/$(pkg)/root/static/css/custom.css
+ mkdir -p $(cdbs_curdestdir)usr/share/$(pkg)/root/static/css
+ ln -sT /etc/ciderwebmail/custom.css \
+ $(cdbs_curdestdir)usr/share/$(pkg)/root/static/css/custom.css
# Drop unneeded noise
binary-post-install/$(pkg)::
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/ciderwebmail.git
More information about the Pkg-perl-cvs-commits
mailing list