aboutsummaryrefslogtreecommitdiffstats
path: root/get-password
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-02-15 15:25:04 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-02-15 15:25:04 +0000
commit48cd5ad23955ae2ec25a4d5b9d94f4292ae130bc (patch)
tree9a23d877e4d7aa8cc45c8bf0319fb75836eaf992 /get-password
parentba90dd5900e9d66b606f6f44ff559fdd34ab0fc0 (diff)
downloadrpm-helper-48cd5ad23955ae2ec25a4d5b9d94f4292ae130bc.tar
rpm-helper-48cd5ad23955ae2ec25a4d5b9d94f4292ae130bc.tar.gz
rpm-helper-48cd5ad23955ae2ec25a4d5b9d94f4292ae130bc.tar.bz2
rpm-helper-48cd5ad23955ae2ec25a4d5b9d94f4292ae130bc.tar.xz
rpm-helper-48cd5ad23955ae2ec25a4d5b9d94f4292ae130bc.zip
smaller in-file documentation, we have svn for metadata
Diffstat (limited to 'get-password')
-rwxr-xr-xget-password14
1 files changed, 2 insertions, 12 deletions
diff --git a/get-password b/get-password
index ee6788e..caa783a 100755
--- a/get-password
+++ b/get-password
@@ -1,14 +1,6 @@
#!/bin/sh
-#---------------------------------------------------------------
-# Project : Mandrake Linux
-# Module : rpm-helper
-# File : get-password
-# Version : $Id: del-user,v 1.1.1.1 2002/07/09 15:04:21 flepied Exp $
-# Author : Guillaume Rousse
-# Created On : Thu Apr 1 00:00:46 2004
-# Purpose : helper script for rpm scriptlets to generate
-# a random password
-#---------------------------------------------------------------
+# $Id$
+# helper script for rpm scriptlets to get a random password
if [ -n "$1" ]; then
length=$1
@@ -17,5 +9,3 @@ else
fi
perl -e "@c = (a..z,A..Z,0..9); print map { @c[rand @c] } 0..$length"
-
-# get-password ends here