st_rc_d
1#!/bin/bash
2
3[[ -d ${HOME}/.d ]] || mkdir ${HOME}/.d
4[[ -d ${HOME}/.d/.lst.d ]] || mkdir ${HOME}/.d/.st.lst
5[[ -d ${HOME}/.d/.path.d ]] || mkdir ${HOME}/.d/.path.d
6[[ -d ${HOME}/.d/.rc.d ]] || mkdir ${HOME}/.d/.rc.d
7
8if [[ -f ${HOME}/REPOBARE/_repo/st_rc_d/.d/.zip/.st.rc.d.zip ]]; then
9
10rm ${HOME}/.d/.rc.d/.st.rc.d.zip
11rm -r ${HOME}/.d/.rc.d/.st.rc.d
12cp ${HOME}/REPOBARE/_repo/st_rc_d/.d/.zip/.st.rc.d.zip ${HOME}/.d/.rc.d/
13cd ${HOME}/.d/.rc.d/
14unzip ${HOME}/.d/.rc.d/.st.rc.d.zip
15# .d/.rc.d/.st.rc.d
16
17else
18read -p "NOT_FILE: ${HOME}/REPOBARE/_repo/st_rc_d/.d/.zip/.st.rc.d.zip mast ^C!!!"
19fi
20
21if [[ -f ${HOME}/REPOBARE/_repo/st_rc_d/.d/.zip/.st_rc_d.rc.zip ]]; then
22
23rm ${HOME}/.d/.rc.d/.st_rc_d.rc.zip
24rm ${HOME}/.d/.rc.d/.st_rc_d.rc
25cp ${HOME}/REPOBARE/_repo/st_rc_d/.d/.zip/.st_rc_d.rc.zip ${HOME}
26cd ${HOME}/.d/.rc.d/
27unzip ${HOME}/.d/.rc.d/.st_rc_d.rc.zip
28
29else
30read -p "NOT_FILE: ${HOME}/REPOBARE/_repo/st_rc_d/.d/.zip/.st_rc_d.rc.zip mast ^C!!!"
31fi
32
33