diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-08 19:54:42 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-08 19:54:42 +0000 |
commit | 3a77360e6a7f41db20c126a6a91d46591b0390d0 (patch) | |
tree | 1358631e9d0f6b92bbaf9186622276f0ea595fee /src | |
parent | 1eb00c71968df7c81cbf5fc85093bc4bd5b77a96 (diff) | |
download | simplepkg-3a77360e6a7f41db20c126a6a91d46591b0390d0.tar.gz simplepkg-3a77360e6a7f41db20c126a6a91d46591b0390d0.tar.bz2 |
another small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@162 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rwxr-xr-x | src/simplaret | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/simplaret b/src/simplaret index 3b2fbb0..8735074 100755 --- a/src/simplaret +++ b/src/simplaret @@ -784,6 +784,11 @@ function simplaret_install { root="/$ROOT" mkdir -p $root/var/log/setup/tmp + if [ "`echo $1 | sed -e 's/\(..\).*/\1/g'`" == "--" ]; then + echo $BASENAME: install: syntax error: expected package name + return 1 + fi + # now we check if ARCH and VERSION from the # repository are the same of the jail if [ "$2" != "--skip-checks" ]; then |