Friendica Update Script for Installations via git repository
andy 07f529dfd2 Update 'README.md' 6 months ago
LICENSE Initial commit 10 months ago
README.md Update 'README.md' 6 months ago
fusig.sh Update fusig.sh 6 months ago

README.md

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 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