diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-20 12:41:24 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-20 12:41:24 +0300 |
commit | a53f4930669fe6a1bec6dea3ce76f1a92bbe18ec (patch) | |
tree | 7749c25933bd170a58738467ee1ecd25328404a4 /install.sh | |
parent | 5f7fb5e7a9caaf6f5fe4d994e07bef367d41efd4 (diff) | |
download | arching-kaos-tools-a53f4930669fe6a1bec6dea3ce76f1a92bbe18ec.tar.gz arching-kaos-tools-a53f4930669fe6a1bec6dea3ce76f1a92bbe18ec.tar.bz2 arching-kaos-tools-a53f4930669fe6a1bec6dea3ce76f1a92bbe18ec.zip |
Replaced double brackets with single ones
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -2,19 +2,19 @@ source ./config.sh printf "%s" $(pwd) > wam WHEREAMI="$(cat wam)" -if [[ ! -d $AK_WORKDIR ]] ; then mkdir $AK_WORKDIR ;fi -if [[ ! -d $AK_CONFIGDIR ]] ; then mkdir $AK_CONFIGDIR ;fi -if [[ ! -d $AK_BINDIR ]]; then mkdir $AK_BINDIR ;fi -if [[ ! -d $AK_ZBLOCKDIR ]]; then mkdir $AK_ZBLOCKDIR ;fi -if [[ ! -d $AK_BLOCKDIR ]]; then mkdir $AK_BLOCKDIR ;fi -if [[ ! -d $AK_DATADIR ]]; then mkdir $AK_DATADIR ;fi -if [[ ! -d $AK_ARCHIVESDIR ]]; then mkdir $AK_ARCHIVESDIR ;fi -if [[ ! -f $AK_LOGSFILE ]]; then touch $AK_LOGSFILE ;fi -if [[ ! -f $AK_GENESIS ]]; then touch $AK_GENESIS;fi -if [[ ! -f $AK_MINEDBLOCKS ]]; then mkdir $AK_MINEDBLOCKS; fi -if [[ ! -f $AK_ZBLOCKSFILE ]]; then mkdir $AK_ZBLOCKSFILE; fi -if [[ ! -f $AK_ZPAIRSFILE ]]; then mkdir $AK_ZPAIRSFILE; fi -if [[ ! -d $AK_GPGHOME ]]; then mkdir $AK_GPGHOME && chmod 700 -R $AK_GPGHOME; fi +if [ ! -d $AK_WORKDIR ] ; then mkdir $AK_WORKDIR ;fi +if [ ! -d $AK_CONFIGDIR ] ; then mkdir $AK_CONFIGDIR ;fi +if [ ! -d $AK_BINDIR ]; then mkdir $AK_BINDIR ;fi +if [ ! -d $AK_ZBLOCKDIR ]; then mkdir $AK_ZBLOCKDIR ;fi +if [ ! -d $AK_BLOCKDIR ]; then mkdir $AK_BLOCKDIR ;fi +if [ ! -d $AK_DATADIR ]; then mkdir $AK_DATADIR ;fi +if [ ! -d $AK_ARCHIVESDIR ]; then mkdir $AK_ARCHIVESDIR ;fi +if [ ! -f $AK_LOGSFILE ]; then touch $AK_LOGSFILE ;fi +if [ ! -f $AK_GENESIS ]; then touch $AK_GENESIS;fi +if [ ! -f $AK_MINEDBLOCKS ]; then mkdir $AK_MINEDBLOCKS; fi +if [ ! -f $AK_ZBLOCKSFILE ]; then mkdir $AK_ZBLOCKSFILE; fi +if [ ! -f $AK_ZPAIRSFILE ]; then mkdir $AK_ZPAIRSFILE; fi +if [ ! -d $AK_GPGHOME ]; then mkdir $AK_GPGHOME && chmod 700 -R $AK_GPGHOME; fi touch $AK_WORKDIR/logs logthis(){ |