1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Bash Update revoked customized configuration
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Bash%20Update%20revoked%20customized%20configuration&In-Reply-To=%3C20121024163107.7c4c76b6%40lap.shlomifish.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="019493.html">
<LINK REL="Next" HREF="019501.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Bash Update revoked customized configuration</H1>
<B>Shlomi Fish</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Bash%20Update%20revoked%20customized%20configuration&In-Reply-To=%3C20121024163107.7c4c76b6%40lap.shlomifish.org%3E"
TITLE="[Mageia-dev] Bash Update revoked customized configuration">shlomif at shlomifish.org
</A><BR>
<I>Wed Oct 24 16:31:07 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="019493.html">[Mageia-dev] Bash Update revoked customized configuration
</A></li>
<LI>Next message: <A HREF="019501.html">[Mageia-dev] Asia-Pacific packager newbie needs mentor
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19500">[ date ]</a>
<a href="thread.html#19500">[ thread ]</a>
<a href="subject.html#19500">[ subject ]</a>
<a href="author.html#19500">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi Johnny,
On Tue, 23 Oct 2012 16:55:49 +0100
"Johnny A. Solbu" <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">cooker at solbu.net</A>> wrote:
><i> Hi.
</I>><i>
</I>><i> The first thing I do on every Mandriva/Mageia installation is to remove many
</I>><i> of the aliases defined in «/etc/profile.d/60alias.sh». I always remove every
</I>><i> instance of «rm/cp/mv -i», every instance of «cd» aliases, and some of the
</I>><i> «ls» aliases. I do this plainly because these aliases Really Do Annoy me! I
</I>><i> don't care for other users on my system. If they really want these aliases,
</I>><i> they can create them them selves.
</I>><i>
</I>><i> Last night I did an rsync of my local mirror and updated one of my mageia
</I>><i> systems, only to find that a bash update have reinstalled the Default
</I>><i> 60alias.sh.
</I>><i>
</I>><i> Is it possible to configure the system so it under no circumstances
</I>><i> automatically overwrite files I've reconfigured? And, why isn't the files in
</I>><i> «/etc/profile.d/» marked as «%config(noreplace)» ?
</I>><i>
</I>
If you're looking for a more permanent solution than one that will involve
changing the system-installed files, then you can either put various unalias
commands in ~/.bashrc or alternatively create a 99my_customizations.sh file
with them.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A>
Best Introductory Programming Language - <A HREF="http://shlom.in/intro-lang">http://shlom.in/intro-lang</A>
*shlomif:* hack, hack, hack ; save ; make ; make test; commit. And start over.
*mrjink:* hack, hack, hack; save; make; swear; fix typos; save; make; make
test; swear some more; hack some more; save; make; make test; cheer; commit.
*meep:* hack, make, test, segfault, oh noes, revert to previous revision
Please reply to list if it's a mailing list post - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> .
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="019493.html">[Mageia-dev] Bash Update revoked customized configuration
</A></li>
<LI>Next message: <A HREF="019501.html">[Mageia-dev] Asia-Pacific packager newbie needs mentor
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19500">[ date ]</a>
<a href="thread.html#19500">[ thread ]</a>
<a href="subject.html#19500">[ subject ]</a>
<a href="author.html#19500">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|