Use dokku_apps for listing apps instead of re-inventing the wheel

This commit is contained in:
Jose Diaz-Gonzalez committed 2016-01-02 02:31:34 -05:00
1 parent 40047f0f8b
commit 51a50fb571
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ source "$PLUGIN_AVAILABLE_PATH/apps/functions"
case "$1" in case "$1" in
apps) apps)
dokku_log_info2_quiet "My Apps" dokku_log_info2_quiet "My Apps"
find $DOKKU_ROOT -follow -maxdepth 1 -type d \( ! -iname ".*" \) -not -path $DOKKU_ROOT/tls | sed 's|^\./||g' | sed 's|'$DOKKU_ROOT'\/||' | tail -n +2 | sort dokku_apps
;; ;;
apps:create) apps:create)