1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-06-16 18:30:03 +08:00
cosin/scripts/plugins.install.all.sh

22 lines
433 B
Bash
Executable File

#! /bin/bash
###########################################
#
###########################################
# constants
baseDir=$(cd `dirname "$0"`;pwd)
# functions
# main
[ -z "${BASH_SOURCE[0]}" -o "${BASH_SOURCE[0]}" = "$0" ] || return
cd $baseDir/..
if [ -d ./private/plugins ]; then
./private/plugins/scripts/install-all.sh
fi
cd $baseDir/..
if [ -d ./public/plugins ]; then
./public/plugins/scripts/install-all.sh
fi