mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-25 08:43:36 +00:00
14 lines
333 B
Bash
14 lines
333 B
Bash
#!/bin/sh
|
|
|
|
# Usage: module-enable python_root module
|
|
# This will change when we switch to using aptitude.
|
|
|
|
# TODO: Replace this with "aptitude install plinth-<module>"
|
|
case "$2" in
|
|
owncloud)
|
|
if [ ! -e "$1"/modules/owncloud.py ] ; then
|
|
ln -s "$1"/modules/installed/apps/owncloud.py "$1"/modules/owncloud.py
|
|
fi
|
|
;;
|
|
esac
|