summaryrefslogtreecommitdiff
path: root/libre/linux-libre/linux-libre.install
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-03 19:21:46 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-03 19:21:46 +0100
commit433dba14d4671c511488c56e5f85599cb43fd1f1 (patch)
tree0bfc27d6cfbff137cd80c405d725352686891faa /libre/linux-libre/linux-libre.install
parentb07180778a88bd1ce069163975ce6aadd7f4f95c (diff)
Fix typos in linux-libre.install.
Diffstat (limited to 'libre/linux-libre/linux-libre.install')
-rw-r--r--libre/linux-libre/linux-libre.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/libre/linux-libre/linux-libre.install b/libre/linux-libre/linux-libre.install
index 62f5d13bc..ea00c881c 100644
--- a/libre/linux-libre/linux-libre.install
+++ b/libre/linux-libre/linux-libre.install
@@ -8,7 +8,7 @@ post_install () {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod ${KERNEL_VERSION}
- if [ command -v mkinitcpio 2>&1 > /dev/null ]; then
+ if command -v mkinitcpio 2>&1 > /dev/null; then
echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
mkinitcpio -p linux-libre${KERNEL_NAME}
fi
@@ -52,7 +52,7 @@ post_upgrade() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod ${KERNEL_VERSION}
- if [ command -v mkinitcpio 2>&1 > /dev/null ]; then
+ if command -v mkinitcpio 2>&1 > /dev/null; then
echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
mkinitcpio -p linux-libre${KERNEL_NAME}
fi