]> git.pld-linux.org Git - packages/pwdutils.git/commitdiff
- script fixes
authorankry <ankry@pld-linux.org>
Thu, 26 May 2005 20:37:46 +0000 (20:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pwdutils-no_bash.patch -> 1.1
    pwdutils-silent_crontab.patch -> 1.1

pwdutils-no_bash.patch [new file with mode: 0644]
pwdutils-silent_crontab.patch [new file with mode: 0644]

diff --git a/pwdutils-no_bash.patch b/pwdutils-no_bash.patch
new file mode 100644 (file)
index 0000000..c6f1016
--- /dev/null
@@ -0,0 +1,32 @@
+--- pwdutils-2.6.98/etc/groupadd.local~        2005-05-26 22:23:58.000000000 +0200
++++ pwdutils-2.6.98/etc/groupadd.local 2005-05-26 22:23:58.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Here you can add your own stuff, that should be done for every
+ # group which was new created.
+--- pwdutils-2.6.98/etc/useradd.local~ 2005-05-26 22:24:03.000000000 +0200
++++ pwdutils-2.6.98/etc/useradd.local  2005-05-26 22:24:03.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Here you can add your own stuff, that should be done for every user who
+ # was new created.
+--- pwdutils-2.6.98/etc/userdel-post.local~    2005-05-26 22:24:13.000000000 +0200
++++ pwdutils-2.6.98/etc/userdel-post.local     2005-05-26 22:24:13.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Here you can add your own stuff, that should be done for every user
+ # which we deleted.
+--- pwdutils-2.6.98/etc/userdel-pre.local~     2005-05-26 22:31:19.000000000 +0200
++++ pwdutils-2.6.98/etc/userdel-pre.local      2005-05-26 22:31:19.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Here you can add your own stuff, that should be done for every user
+ # who will be deleted.
diff --git a/pwdutils-silent_crontab.patch b/pwdutils-silent_crontab.patch
new file mode 100644 (file)
index 0000000..b6e95c7
--- /dev/null
@@ -0,0 +1,11 @@
+--- pwdutils-2.6.98/etc/userdel-pre.local~     2005-05-26 22:31:19.000000000 +0200
++++ pwdutils-2.6.98/etc/userdel-pre.local      2005-05-26 22:31:19.000000000 +0200
+@@ -14,7 +14,7 @@
+ fi
+ # Remove cron jobs
+-crontab -r -u $1
++[ -f /usr/bin/crontab ] && /usr/bin/crontab -r -u $1 >/dev/null 2>&1
+ # All done.
+ exit 0
This page took 0.037308 seconds and 4 git commands to generate.