#!/bin/bash # gettext domain TEXTDOMAIN="lliurex-up" export TEXTDOMAIN COMMON_LIBRARY="/usr/share/lliurex-up/common-upgrade-vars.sh" if [ -r $COMMON_LIBRARY ] ; then . $COMMON_LIBRARY fi #gettext messages INFO_MESSAGE="$(gettext "Update the sources list on server")" _usage() { echo "# Unknown argument" } _info() { echo "$INFO_MESSAGE" } _migrate() { echo " [ LliureX Up ] : Nothing to do" } ACTION="$1" case "$ACTION" in migrate) _migrate ;; info) _info ;; *) _usage ;; esac