diff options
author | Karel Kočí <cynerd@email.cz> | 2023-03-21 18:19:32 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-03-21 20:46:05 +0100 |
commit | 7be0acbb1cd6b6d3c4c3df95611cb86be4b46915 (patch) | |
tree | fcdca6619a05b1e72ebb8b9ddf0d04586b434e94 /install | |
parent | f0eab21bab34beb657059cf5dfe91ca8072edb35 (diff) | |
download | shellrc-7be0acbb1cd6b6d3c4c3df95611cb86be4b46915.tar.gz shellrc-7be0acbb1cd6b6d3c4c3df95611cb86be4b46915.tar.bz2 shellrc-7be0acbb1cd6b6d3c4c3df95611cb86be4b46915.zip |
Drop desktop variant and rework nix packages
Diffstat (limited to 'install')
-rwxr-xr-x | install | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -6,7 +6,6 @@ I_PREFIX=/ U_BASE=true U_BASH=false U_ZSH=false -U_DESKTOP=false while [ $# -gt 0 ]; do case "$1" in @@ -16,14 +15,12 @@ while [ $# -gt 0 ]; do echo "Options:" echo " -h, --help" echo " Print this help text." - echo " -d, --desktop" - echo " Install desktop specific configuration extensions for shellrc" echo " -b, --bash" echo " Install bash configuration" echo " -z, --zsh" echo " Install zsh configuration" echo " --no-base" - echo " Do not install base only bash or zsh or desktop is installed" + echo " Do not install base only bash or zsh is installed" echo " --prefix PATH" echo " Install prefix (in default set to /)" exit 0 @@ -37,9 +34,6 @@ while [ $# -gt 0 ]; do --no-base) U_BASE=false ;; - -d|--desktop) - U_DESKTOP=true - ;; --prefix) shift I_PREFIX="$1" @@ -58,11 +52,6 @@ if $U_BASE; then cp -r shellrc.d/. "$I_PREFIX/usr/share/shellrc/" fi -if $U_DESKTOP; then - mkdir -p "$I_PREFIX/usr/share/shellrc" - cp -r shellrc-desktop.d/. "$I_PREFIX/usr/share/shellrc/" -fi - if $U_BASH; then mkdir -p "$I_PREFIX/etc/bash" cp -r bashrc.d/. "$I_PREFIX/etc/bash/bashrc.d" |