xbps-casper: fix some errors introduced in previous.

--HG--
branch : gnome3
This commit is contained in:
Juan RP 2011-03-11 08:05:59 +01:00
parent d5bad71e31
commit 5581f27015
11 changed files with 13 additions and 12 deletions

View File

@ -23,6 +23,7 @@ tried=/tmp/tried
[ -f /etc/casper.conf ] && . /etc/casper.conf
export USERNAME USERFULLNAME HOST BUILD_SYSTEM
. /scripts/functions
. /scripts/casper-helpers
if [ ! -f /casper.vars ]; then

View File

@ -3,7 +3,7 @@
PREREQ=""
DESCRIPTION="Setting up /cdrom mountpoint"
[ -r /scripts/casper-functions ] && . /scripts/casper-functions
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{

View File

@ -3,7 +3,7 @@
PREREQ=""
DESCRIPTION="Setting up live session user '$USERNAME'"
[ -r /scripts/casper-functions ] && . /scripts/casper-functions
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{

View File

@ -3,7 +3,7 @@
PREREQ=""
DESCRIPTION="Setting up system keymap"
[ -r /scripts/casper-functions ] && . /scripts/casper-functions
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{

View File

@ -4,7 +4,7 @@ PREREQ=""
DESCRIPTION="Setting up /etc/fstab"
FSTAB=${rootmnt}/etc/fstab
[ -r /scripts/casper-functions ] && . /scripts/casper-functions
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{

View File

@ -4,7 +4,7 @@ PREREQ=""
DESCRIPTION="Setting up swap"
FSTAB=${rootmnt}/etc/fstab
[ -r /scripts/casper-functions ] && . /scripts/casper-functions
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{

View File

@ -3,7 +3,7 @@
PREREQ=""
DESCRIPTION="Setting up system locale"
[ -r /scripts/casper-functions ] && . /scripts/casper-functions
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{

View File

@ -3,6 +3,8 @@
PREREQ=""
DESCRIPTION="Setting up automatic login"
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{
echo "$PREREQ"
@ -16,8 +18,6 @@ prereqs)
;;
esac
. /scripts/casper-functions
log_begin_msg "$DESCRIPTION"
# Enable autologin for getty(1).

View File

@ -3,7 +3,7 @@
PREREQ=""
DESCRIPTION="Setting up hostname"
[ -r /scripts/casper-functions ] && . /scripts/casper-functions
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{

View File

@ -3,6 +3,8 @@
PREREQ=""
DESCRIPTION="Modifying PolicyKit grants for '$USERNAME' user"
[ -r /scripts/functions ] && . /scripts/functions
prereqs()
{
echo "$PREREQ"
@ -16,8 +18,6 @@ prereqs)
;;
esac
. /scripts/casper-functions
# Check that polkit is installed.
if [ ! -x "/root/usr/libexec/polkitd" ]; then
exit 0

View File

@ -1,6 +1,6 @@
# Template file for 'xbps-casper'
pkgname=xbps-casper
_localver=0.12 # XBPS package version
_localver=0.13 # XBPS package version
_distver=1.236 # This should match the upstream (Ubuntu) version
version=${_localver}.${_distver}
build_style=custom-install