mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
15 lines
320 B
Bash
Executable File
15 lines
320 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Usage: module-disable python_root module
|
|
# This will change when we switch to using aptitude.
|
|
|
|
# TODO: Replace this with "aptitude purge plinth-<module>"
|
|
case "$2" in
|
|
owncloud)
|
|
if [ -e "$1"/modules/owncloud.py ] ; then
|
|
rm -f "$1"/modules/owncloud.py
|
|
echo "disabled owncloud"
|
|
fi
|
|
;;
|
|
esac
|