[arch-projects] [initscripts] [PATCH 1/3] Fix indentation

Lukas Fleischer archlinux at cryptocrack.de
Fri Feb 3 08:07:00 EST 2012


Indent code using tabs (instead of spaces) in all source files.

Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 arch-sysctl    |    2 +-
 rc.sysinit     |    2 +-
 zsh-completion |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch-sysctl b/arch-sysctl
index 4856df6..4c54217 100755
--- a/arch-sysctl
+++ b/arch-sysctl
@@ -19,7 +19,7 @@ declare -A fragments
 # files declared later in the sysctl_d array will override earlier
 # Example: `/etc/sysctl.d/foo.conf' supersedes `/usr/lib/sysctl.d/foo.conf'.
 for path in "${sysctl_d[@]}"; do
-  [[ -f $path ]] && fragments[${path##*/}]=$path
+	[[ -f $path ]] && fragments[${path##*/}]=$path
 done
 
 for path in "${fragments[@]}"; do
diff --git a/rc.sysinit b/rc.sysinit
index fbb1894..27ad124 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -36,7 +36,7 @@ run_hook sysinit_start
 bootlogd -p /run/bootlogd.pid
 
 if [[ ! -a /usr/lib ]] ; then
-  printf "${C_FAIL}/usr is not mounted. This is not supported.${C_OTHER}\n"
+	printf "${C_FAIL}/usr is not mounted. This is not supported.${C_OTHER}\n"
 fi
 
 if [[ ! $(grep devtmpfs /proc/filesystems) ]] ; then
diff --git a/zsh-completion b/zsh-completion
index 58fdfab..d860e51 100644
--- a/zsh-completion
+++ b/zsh-completion
@@ -28,7 +28,7 @@ _rc.d () {
 					;;
 			esac
 		;;
-  esac
+	esac
 }
 
 _rc.d "$@"
-- 
1.7.9



More information about the arch-projects mailing list