update install script comments

This commit is contained in:
James Barnett 2016-04-25 09:51:40 -05:00
parent 92b1ccc3bb
commit 081ed10675

23
install
View file

@ -1,5 +1,26 @@
#!/bin/bash
# snap-pac
# https://github.com/wesbarnett/snap-pac
# Copyright (C) 2016 James W. Barnett
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Installation script. First argument is the root directory. For use with a
# PKGBUILD that installs using "./install $pkgdir".
INSTALL_DIR=$1
install -d $INSTALL_DIR/usr/share/libalpm/hooks
install -d $INSTALL_DIR/usr/share/libalpm/hooks.bin/snap-pac
@ -9,4 +30,4 @@ install -D snap-pac-clean $INSTALL_DIR/usr/share/libalpm/hooks.bin/snap-pac/
install -D 10_snapper-pre.hook $INSTALL_DIR/usr/share/libalpm/hooks/
install -D 10_snapper-post.hook $INSTALL_DIR/usr/share/libalpm/hooks/
install -D 20_snap-pac-clean.hook $INSTALL_DIR/usr/share/libalpm/hooks/
install -D LICENSE "$INSTALL_DIR/usr/share/licenses/${pkgname}/LICENSE"
install -D LICENSE "$INSTALL_DIR/usr/share/licenses/snap-pac/LICENSE"