Репозитории ALT
S: | 1.1.3-alt12 |
5.1: | 1.0.2-alt6.M51.1 |
4.1: | 1.0.2-alt1 |
4.0: | 1.0.2-alt0.M40.1 |
Группа :: Система/Основа
Пакет: xdg-utils
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xdg-terminal-added-dde-support.patch
Скачать
Скачать
diff --git a/xdg-utils/scripts/xdg-terminal.in b/xdg-utils/scripts/xdg-terminal.in
index f67897d..47bf3e6 100644
--- a/xdg-utils/scripts/xdg-terminal.in
+++ b/xdg-utils/scripts/xdg-terminal.in
@@ -202,6 +202,19 @@ terminal_enlightenment()
fi
}
+terminal_dde()
+{
+ if which deepin-terminal &>/dev/null; then
+ if [ x"$1" = x"" ]; then
+ deepin-terminal
+ else
+ deepin-terminal -e "$1"
+ fi
+ else
+ terminal_generic "$1"
+ fi
+}
+
#[ x"$1" != x"" ] || exit_failure_syntax
command=
@@ -266,6 +279,10 @@ case "$DE" in
terminal_enlightenment "$command"
;;
+ dde)
+ terminal_dde "$command"
+ ;;
+
generic)
terminal_generic "$command"
;;