summaryrefslogtreecommitdiff
path: root/packages/cern-scripts/resources/bin/dmenu-software.sh
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-02-27 15:58:12 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-02-27 15:58:12 +0100
commita307e0474e78c51590aeac95dbc5587a87ef6501 (patch)
treec5c7ca86b0b86704a4c1adc588e7ce249826e98f /packages/cern-scripts/resources/bin/dmenu-software.sh
parent77955935e9549a847ae7e0d78819f090d429fdb6 (diff)
downloaddebian-packages-a307e0474e78c51590aeac95dbc5587a87ef6501.tar.gz
debian-packages-a307e0474e78c51590aeac95dbc5587a87ef6501.zip
refactor scripts packages
Diffstat (limited to 'packages/cern-scripts/resources/bin/dmenu-software.sh')
-rwxr-xr-xpackages/cern-scripts/resources/bin/dmenu-software.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/packages/cern-scripts/resources/bin/dmenu-software.sh b/packages/cern-scripts/resources/bin/dmenu-software.sh
deleted file mode 100755
index bca5b54..0000000
--- a/packages/cern-scripts/resources/bin/dmenu-software.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash -l
-
-sysenv='System native environment'
-
-env=`(echo "$sysenv"; plain_list_envs) | dmenu`
-
-test -f "$HOME/.cache/dmenu_run" && rm -f "$HOME/.cache/dmenu_run"
-
-if [ "$env" == "$sysenv" ]; then
- dmenu_run
-else
- bash -l -c "activate $env; dmenu_run"
-fi