Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

AndyHee/fusig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Friendica Update Script for Installations via Github

A bash script for administrators of Friendica Communications Servers to update an existing installation via github. The script also allows to effortlessly switch branches, check version number, and update the server’s database structure.

Installation

Copy script to system, place in suitable location mv fusig.sh /usr/local/bin/ and make it executable with chmod +x fusig.sh.

Configuration

Run fusig.sh -c to see current configuration and fusig.sh -e to alter it if needed.

User Permissions

This script requires superuser permission if the user who runs the git command differs from the user who runs the composer install. In practice, if the composer user is set to the user under which you logged on to your Friendica installation, you will not require superuser permission.

Usage

fusig.sh [options]

Options:

  -u [branch]	override branch setting

  -B		update database structure
  -f 		display Friendica versions
  -c		display script configuration
  -e		configure script
  -h 		display this help and exit

Examples: fusig.sh or fusig.sh -u master