Merge Request #2
← To merge requests
From
noosfero_pkg
into
master
Noosfero pkg
Added cron as a dependencie and change cache links to /var/lib/noosfero/cache/
Commits (2)
-
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
-
I think you want
ln -sfT /var/lib/noosfero/cache/$dir %{buildroot}/usr/lib/noosfero/public/$dir
instead (note the extra/$dir
in the first argument toln
. -
I think you need to create all
cache_dirs
under/var/lib/noosfero/cache
-
All these changes will break when the production script run:
rm -rf "$NOOSFERO_DATA_DIR"/cache/*
-
yes, you are right.
-
Status changed to closed
-
Status changed to reopened
-
mentioned in commit 9ee75ff782388dff0bdde9acc2ee033e426859ef
-
did you update the package on OBS?
-
Not yet. I can do it now.
-
Done.
started a discussion
on the diff
specs/noosfero/noosfero.spec
65 | 66 | for dir in %{writable_dirs}; do |
66 | 67 | ln -sfT /var/lib/noosfero/public/$dir %{buildroot}/usr/lib/noosfero/public/$dir |
67 | 68 | done |
69 | +# symlink needed to cache | |
70 | +for dir in %{cache_dirs}; do | |
71 | + ln -sfT /var/lib/noosfero/cache %{buildroot}/usr/lib/noosfero/public/$dir | |
1 |
|
started a discussion
on the diff
specs/noosfero/noosfero.spec
115 | 120 | for dir in %{writable_dirs}; do |
116 | 121 | mkdir -p /var/lib/noosfero/public/$dir |
117 | 122 | done |
123 | +mkdir -p /var/lib/noosfero/cache | |
1 |
|