Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
fa83271d
Commit
fa83271d
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Set rss permissions after upgrades
parent
08bec8c3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-app-rss
+6
-2
6 additions, 2 deletions
src/freedombone-app-rss
with
6 additions
and
2 deletions
src/freedombone-app-rss
+
6
−
2
View file @
fa83271d
...
...
@@ -85,6 +85,8 @@ function reconfigure_rss {
}
function
upgrade_rss
{
RSS_MOBILE_READER_PATH
=
/etc/share/ttrss-mobile
if
[[
$(
app_is_installed rss
)
==
"1"
]]
;
then
function_check set_repo_commit
set_repo_commit
$RSS_READER_PATH
"rss reader commit"
"
$RSS_READER_COMMIT
"
$RSS_READER_REPO
...
...
@@ -104,8 +106,6 @@ function upgrade_rss {
exit
63452
fi
RSS_MOBILE_READER_PATH
=
/etc/share/ttrss-mobile
# remove any previous install
if
[
-d
$RSS_READER_PATH
/g2ttree-mobile
]
;
then
if
[[
$(
is_completed
"install_rss_mobile_reader"
)
==
"1"
]]
;
then
...
...
@@ -119,6 +119,10 @@ function upgrade_rss {
function_check set_repo_commit
set_repo_commit
$RSS_MOBILE_READER_PATH
"rss mobile reader commit"
"
$RSS_MOBILE_READER_COMMIT
"
$RSS_MOBILE_READER_REPO
fi
chown
-R
www-data:www-data
$RSS_MOBILE_READER_PATH
chown
-R
www-data:www-data
$RSS_READER_PATH
chmod
a+x
$RSS_MOBILE_READER_PATH
}
function
backup_local_rss
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment