|  | 
 |  | 
 | 
												
													
														| 8278 |  
 | 8278 |  
 | 
												
													
														| 8279 |      # update to the next commit
 | 8279 |      # update to the next commit
 | 
												
													
														| 8280 |      set_repo_commit $RSS_READER_GNUSOCIAL_PATH "RSS reader gnusocial commit" "$RSS_READER_GNUSOCIAL_COMMIT" $RSS_READER_GNUSOCIAL_REPO
 | 8280 |      set_repo_commit $RSS_READER_GNUSOCIAL_PATH "RSS reader gnusocial commit" "$RSS_READER_GNUSOCIAL_COMMIT" $RSS_READER_GNUSOCIAL_REPO
 | 
												
													
														|  | 
 | 8281 | +    chown -R www-data:www-data $RSS_READER_GNUSOCIAL_PATH
 | 
												
													
														| 8281 |  
 | 8282 |  
 | 
												
													
														| 8282 |      if grep -Fxq "install_rss_reader_gnusocial" $COMPLETION_FILE; then
 | 8283 |      if grep -Fxq "install_rss_reader_gnusocial" $COMPLETION_FILE; then
 | 
												
													
														| 8283 |          return
 | 8284 |          return
 | 
												
											
												
													
														|  | 
 |  | 
 | 
												
													
														| 8299 |      if ! grep -q "RSS reader gnusocial commit" $COMPLETION_FILE; then
 | 8300 |      if ! grep -q "RSS reader gnusocial commit" $COMPLETION_FILE; then
 | 
												
													
														| 8300 |          echo "RSS reader gnusocial commit:$RSS_READER_GNUSOCIAL_COMMIT" >> $COMPLETION_FILE
 | 8301 |          echo "RSS reader gnusocial commit:$RSS_READER_GNUSOCIAL_COMMIT" >> $COMPLETION_FILE
 | 
												
													
														| 8301 |      fi
 | 8302 |      fi
 | 
												
													
														|  | 
 | 8303 | +    chown -R www-data:www-data $RSS_READER_GNUSOCIAL_PATH
 | 
												
													
														| 8302 |      echo "  define('gnusocial_url', '$MICROBLOG_DOMAIN_NAME');" >> $RSS_READER_PATH/config.php
 | 8304 |      echo "  define('gnusocial_url', '$MICROBLOG_DOMAIN_NAME');" >> $RSS_READER_PATH/config.php
 | 
												
													
														| 8303 |  
 | 8305 |  
 | 
												
													
														| 8304 |      echo 'install_rss_reader_gnusocial' >> $COMPLETION_FILE
 | 8306 |      echo 'install_rss_reader_gnusocial' >> $COMPLETION_FILE
 |